Job.Error.Code enum
sasha.partnerapi.v1.Job.Error.Code · sasha/partner-api/v1/job.proto:65
The reason a job failed.
| 0 | CODE_UNSPECIFIED | Unused. Default unspecified value when the field is not set. Proto3 requires first enum to be 0. |
| 1 | CODE_INTERNAL | An internal error occurred while processing the job. |
| 2 | CODE_IMAGE_ALREADY_PROTECTED | The input image for the embed job is already protected with SASHA Signature. Returned for image jobs. |
| 3 | CODE_IMAGE_LOAD_FAILED | The input image is not a valid image. Returned for image jobs. This can happen if the input image is not a valid image e.g. corrupted or invalid format. |
| 4 | CODE_IMAGE_TOO_LARGE | The input image is too large. Returned for image jobs. This can happen if the input image is too large to process. |
| 5 | CODE_IMAGE_TOO_SMALL | The input image is too small. Returned for image jobs. This can happen if the input image is too small to process. |
| 6 | CODE_MEDIA_LOAD_FAILED | The input media could not be loaded. Returned for video jobs; image jobs return CODE_IMAGE_LOAD_FAILED. This can happen if the URL does not serve the media, the container is corrupted, or the origin does not support HTTP range requests. |
| 7 | CODE_MEDIA_TOO_LARGE | The input media is too large. Returned for video jobs; image jobs return CODE_IMAGE_TOO_LARGE. The limit applies to the file size in bytes. |
| 8 | CODE_MEDIA_TOO_LONG | The input media is too long. Returned for video jobs whose duration, or duration multiplied by bitrate, exceeds the limit. |
| 9 | CODE_UNSUPPORTED_MEDIA_FORMAT | The input media is in a format the job does not support, e.g. a codec or container other than the documented ones. |
Value notes
CODE_INTERNAL
An internal error occurred while processing the job.
This is a generic error code that should be used for errors that are not covered by other error codes.
Referenced by
Job.Error— fieldcode