Error Codes

Navigate through Picsart API error codes with this detailed reference to understand and resolve common API issues.

Picsart uses conventional HTTP response codes to indicate the success or failure of an API request.

Error CodeMessageDescription
200SuccessCongratulations, your call was successful. This code indicates that the API request was successfully processed by the server.
400Bad requestThe server could not understand the request due to invalid syntax or input parameters that did not meet the requirements. This error commonly occurs when the request contains incorrect or missing parameters. Developers should carefully review the request and ensure it follows the correct API format and includes all mandatory parameters.
401UnauthorizedAlthough the HTTP standard specifies "unauthorized," semantically, this response means "unauthenticated." That is, the client must authenticate itself to get the requested response. Check if the APIKEY is provided in either the request header or in the query string. Developers must verify if the API key is provided in either the request header or the query string. If the key is missing or invalid, the server will reject the request with this error code.
403ForbiddenThe client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the client's identity is known to the server. Developers should review the permissions associated with the user or API key making the request to ensure it has sufficient privileges to access the requested resource.
404Not FoundNot found. Verify that the request URL is spelled correctly and that the API you are trying to access exists. For example, ensure that you are not trying to access the wrong revision of an API. If the requested resource does not exist, the server will respond with this error code. Developers should double-check the URL and API version being used in the request.
405Method Not AllowedMethod not allowed. You specified a method that is not supported. For example, you used the GET verb for an API call that requires the POST verb. Developers should review the allowed methods for each API endpoint and ensure they use the correct HTTP verb in their request.
413Request Entity Too LargeRequest Entity Too Large. This error occurs when the size of the request exceeds the server's limit. Developers should optimize the payload size or use chunked transfer encoding for large payloads to avoid this error.
415Unsupported Media TypeThe media format of the requested data is not supported by the server, so the server rejects the request.
Typically, this error occurs on POST or PUT requests when the Content-type HTTP header is set to the wrong value. For example, an HTTP 415 error is returned if you POST the following to an API that only supports JSON:
$ curl https://api.picsart.io/tools/demo/upscale
-X POST
-H "Content-type:text/xml"
-d ''
For GET requests, use the Accept header instead of the Content-type header.
422Unprocessable ContentUnprocessable Content response status code indicates that the server understands the content type of the request entity, and the syntax of the request entity is correct, but it was unable to process the contained instructions.
429Too Many RequestThe rate limit was exceeded on the Quota. This error indicates that the client has made too many requests in a given time period, exceeding the allowed quota. Developers should review their API usage patterns and adhere to the rate limits defined by Picsart to avoid this error.
431Request Header Fields Too LargeRequest header fields too large. This error occurs when the size of the request headers exceeds the server's limit. Developers should review and optimize the headers to fit within the server's capacity.
500Internal Server ErrorThe server encountered an unexpected condition that prevented it from fulfilling the request. If the error persists, check the service status at status.picsart.io to verify if there are any ongoing issues or maintenance. If the problem persists, developers can reach out for further assistance using the provided contact details.
503Service UnavailableThe service is temporarily unavailable. Check the current status at status.picsart.io to determine if there are any ongoing maintenance or temporary outages. If the service remains unavailable, developers may need to wait until the issue is resolved, or they can contact Picsart's technical support for further assistance.

For high error rates, you can check the service status at status.picsart.io to get updates and subscribe for notifications, including upcoming maintenance. In case you don’t see the problem escalated on the Status page, please contact us with a Request type of ‘Troubleshooting’ or send a direct email to [email protected]. The support team will promptly follow up and assist in resolving the problem.