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 ErrorSomething went wrong on movingimage's end (this is rare).
502Bad GatewayThe server was unable to process your request.


Error Codes


Error CodeDescription1001If you try to delete the root channel.
Error CodeTextDescription
1001
If you try
"Root channel cannot be deleted."
1002

You are not allowed to delete

a

the root channel

containing subchannels

.

1002"Channel has subchannels and cannot be deleted."You cannot delete a channel that contains subchannels.
1003
If you try to
"Google user ID already assigned."You cannot assign assign a social media profile to
a
the same YouTube account twice.
"Google user If you try to
1004"Facebook page ID already assigned."
1004
You cannot assign a social media profile to
a
the same Facebook account twice.
"Facebook page ID already assigned."
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