List of Errors
Understand and navigate through the various video transcoding error codes in the Picsart Photo and Video Editor SDK.
Structure
Errors returned follow the next structure.
{
"status_code": XXX,
"detail": "<Some description>"
}
Here is the full list of errors that all of our video services can return:
API Errors
The following errors might be visible in the browser console.
- 400 Failed to establish a new connection
Detail: Failed to establish a new connection with < URL >.
Description: The backend successfully validates the URL but can’t connect to a URL. - 401 Client Error
Detail: 401 Client Error: Unauthorised for url: < URL >.
Description: The backend successfully validates a URL but is missing valid authentication details to access a remote resource. - 403 Client Error
Detail: 403 Client Error: Forbidden for url: < URL >.
Description: The backend successfully validates a URL but does not have enough permissions to access a remote resource. - 404 Client Error
Detail: 404 Client Error: Not Found for url: < URL >.
Description: The backend successfully validates a URL but the resource cannot be found. - 405 Method Not Allowed
Detail: Method Not Allowed.
Description: The backend can’t recognise the requested endpoint. - 422 The input asset located at < URL > is corrupted
Detail: The input asset located at < URL > is corrupted
Description: The backend successfully validates a URL, successfully found a media asset in a storage but gets an error in reading metadata of a media asset, eg. the worker gets a URL that doesn’t have a media asset, a URL to a web page for example. - 500 Server error while processing request
Detail: Server error while processing request, please reach out to support.
Description: This could be related to processing a media asset. - 504 Server timed out
Detail: Server timed out while processing, please try again later.
Description: Returns if the backend can’t process an input media asset in a set limit.
UI Errors
This is the full list of popups that an user can get when something goes wrong, they cover the list above and some other non server checks.
- 400 Bad request
Title: Something went wrong
Description: It looks like there is an issue with your content. Check to make sure everything is fine and try again. - 403 Forbidden
Title: Access Denied
Description: It looks there is an issue with the permissions to complete this operation. Please reach out to the support team. - 404 Not Found
Title: Your video couldn't be found
Description: Check to make sure your file is available and try again. - 422 Unprocessable content
Title: Something went wrong.
Description: It looks like there is an issue with your content. Please reach out to our support team. - 500 Internal server error
Title: Something went wrong...
Description: It looks like there may be an issue. Try again later. If you're still having trouble, please reach out to our support team
Updated 8 days ago