Skip to main content

JobError

codestringrequired

Error codes:

  • failed_to_fetch_from_url: There was an issue fetching image from the provided image URL
  • image_already_protected: The image is already protected with SASHA Signature
  • image_load_failed: The image is not a valid image e.g. corrupted or invalid format
  • image_too_large: The image is too large to process
  • image_too_small: The image is too small to process
  • internal: An internal error occurred
  • media_load_failed: The media could not be read from the URL, or the server hosting it does not support range requests
  • media_too_large: The media exceeds the size limit
  • media_too_long: The media exceeds the duration limit
  • unsupported_media_format: The media is not in a supported format

Possible values: [failed_to_fetch_from_url, image_already_protected, image_load_failed, image_too_large, image_too_small, internal, media_load_failed, media_too_large, media_too_long, unsupported_media_format]

messagestringrequired

A developer-facing error message

Example: Unsupported image format
JobError
{
"code": "failed_to_fetch_from_url",
"message": "Unsupported image format"
}