Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The movingimage Platform API uses standard HTTP status codes. Here for your reference is a list of common responses and their meanings.


Response Codes

As a general rule, response codes in the 2xx range are successful, in the 4xx range are client errors, and in the 5xx range are server errors (these are rare).

CodeTextDescription
200OKEverything went as expected.
201Created

Resource was created.

  • This message is sent when you succeed in creating new content in your account (uploading a video or generating subtitles, for example).
204No Content

Your request to the resource was successful.

  • In context, this usually means edits you were making (updating video metadata, deleting videos, etc.) were saved.
400Bad RequestThe system didn't understand your request.
401Unauthorized

You may receive this message for a couple of reasons:

  • Your attempt to authenticate with the API failed. You'll need to fetch a new token and try again
  • Your authentication credentials are invalid. Check them and try again.
404Not Found

Resource was deleted or cannot be accessed.

  • When you perform a DELETE request, this is the success code you will receive in response.
415Unsupported Media Type You tried to upload a file format movingimage doesn't support. Check your file type and try again.
500Internal Server Error
Code
Something went wrong on movingimage's end (this is rare).
502Bad GatewayThe server was unable to process your request.


Error Codes


Error CodeText
Message
Description
1001"Root channel cannot be deleted."
It is

You are not allowed to delete the root channel.

1002"Channel has subchannels and cannot be deleted."
It is not allowed to
You cannot delete a channel
which
that contains subchannels.
1003"Google user ID already assigned."
It is not possible to
You cannot assign assign a social media profile to
one
the same YouTube account twice.
1004"Facebook page ID already assigned."
It is not possible to
You cannot assign a social media profile to
a
the same Facebook account twice.
1101"Upload not possible because you reached your storage limit. "
 

If you receive this response, it means your upload was denied because you've reached the limits of your booked storage capacity