Skip to main content

Uploading an image using Photo Center API results in 503 Error

Symptoms

  • Attempting to upload an image through Photo Center API results in a 503 error response from the API.

  • The source image is large, or is otherwise slow to load from the source URL.

Cause

Trident applies a 30 second default timeout on requests. If Photo API is unable to download the image from the source URL to complete the request before the request times out, the request will fail and return a 503 response.

Solution

Investigate the cause of the delay in downloading the source image, or load the image from another location.

More Information