Response codes
The following lists the response codes returned by Transloadit, which you can use to handle errors.
An Assembly is running if ok is either
ASSEMBLY_UPLOADING or ASSEMBLY_EXECUTING. All other states mean the
Assembly has completed. If it completed in error, the
error property will be set. More details on ok and error codes can be found below.
OK codes
OK codes are always returned via ok key, like this: { ok: "{OK_CODE}" }.
ASSEMBLY_CANCELEDThe Assembly was canceled.
ASSEMBLY_COMPLETEDThe Assembly was completed successfully.
ASSEMBLY_EXECUTINGThe Assembly is currently being executed.
ASSEMBLY_NOTIFICATION_REPLAYEDThe Assembly Notification was replayed.
ASSEMBLY_REPLAYINGThe Assembly is being replayed.
ASSEMBLY_UPLOADINGThe Assembly is still in the process of being uploaded.
REQUEST_ABORTEDThe upload connection was closed or timed out before receiving all data.
Error codes
Error codes are always returned via the error key, like this: { error: "{ERROR_CODE}" }.
ACTIVE_ASSEMBLIES_FETCHEDNumber of active Assemblies fetched.
ADMIN_PERMISSIONS_REQUIREDYou require admin permissions to do this.
ASSEMBLIES_UPDATEDThe Assemblies have been updated.
ASSEMBLY_ACCOUNT_MISMATCHYou are not allowed to access this Assembly because it is not yours.
ASSEMBLY_CANNOT_BE_REPLAYEDThe Assembly cannot be replayed.
ASSEMBLY_COULD_NOT_BE_CREATEDThe Assembly could not be created.
ASSEMBLY_CRASHEDThe process managing this Assembly crashed and could not be restored.
ASSEMBLY_DISALLOWED_ROBOTS_USEDYour Assembly uses one or more disallowed Robots.
ASSEMBLY_EMPTY_STEPSYour Assembly
{steps: …}parameter is empty.ASSEMBLY_EXECUTION_PROGRESS_NOT_ENABLEDFor this Assembly, retrieving execution progress has not been enabled.
ASSEMBLY_EXPIREDThe Assembly expired.
ASSEMBLY_FILE_ACCEPTEDThe Assembly accepted the added file.
ASSEMBLY_FILE_NOT_RESERVEDA place for this file must be reserved before adding it.
ASSEMBLY_FILE_RESERVEDThe Assembly reserved a space for this file.
ASSEMBLY_INFINITEYour Assembly appears to be infinite, the "use" parameters form a loop.
ASSEMBLY_INVALID_NOTIFY_URLThe Assembly had a malformed notify_url. They must be strings.
ASSEMBLY_INVALID_NUM_EXPECTED_UPLOAD_FILES_PARAMYour 'num_expected_upload_files' parameter value is invalid. It must be a number greater than or equal zero.
ASSEMBLY_INVALID_STEPSYour Assembly
{steps: …}is a non-object value.ASSEMBLY_JOB_ENQUEUE_ERRORThere was a problem enqueuing a job for your Assembly. Please reach out to support.
ASSEMBLY_LIST_ERRORBad parameters
ASSEMBLY_MEMORY_LIMIT_EXCEEDEDThe Assembly memory limit of 8MB was exceeded. Please try to import less files and/or upload a zip file with less files.
ASSEMBLY_NOTIFICATIONS_LIST_ERRORThe Assembly notifications could not be listed.
ASSEMBLY_NOTIFICATION_LIST_ERRORBad parameters
ASSEMBLY_NOTIFICATION_NOT_PERSISTEDThere was a problem saving the Assembly notification. Please get in touch with support.
ASSEMBLY_NOTIFICATION_NOT_REPLAYEDThe Assembly notification could not be replayed.
ASSEMBLY_NOT_CAPABLEThis Assembly is not capable of handling the requested endpoint.
ASSEMBLY_NOT_FINISHEDThe Assembly is not finished yet and thus cannot be replayed yet.
ASSEMBLY_NOT_FOUNDThe Assembly you requested crashed or does not exist.
ASSEMBLY_NOT_REPLAYEDThe Assembly could not be replayed
ASSEMBLY_NO_CHARGEABLE_STEPAn Assembly must have at least one transcoding or Step.
ASSEMBLY_NO_NOTIFY_URLThe Assembly had not configured any notify_url.
ASSEMBLY_NO_STEPSYour Assembly does not include a
{steps: …}parameter.ASSEMBLY_PROGRESS_UPDATEDThe Assembly's upload progress has been updated.
ASSEMBLY_ROBOT_MISSINGThis Assembly must make use of specific robots as per the contract.
ASSEMBLY_SATURATEDThis Assembly has already received all expected file uploads.
ASSEMBLY_STATS_INVALID_TIMEsince time is missing or incorrect
ASSEMBLY_STATS_MISSING_REGIONMust provide a specific region, or "all"
ASSEMBLY_STATUS_FETCHING_RATE_LIMIT_REACHEDYou are fetching status for the same Assembly too often. Please slow down.
ASSEMBLY_STATUS_NOT_FOUNDThe status for the Assembly you requested could not be found.
ASSEMBLY_STATUS_PARSE_ERRORThere was a problem parsing the status json of the Assembly.
ASSEMBLY_STEP_INVALIDOne of your
{steps: …}parameters is a non-object value.ASSEMBLY_STEP_INVALID_ROBOTOne of your step parameters includes an non-string
{robot: …}value.ASSEMBLY_STEP_INVALID_USEOne of your step parameters either includes a non-array
{use: …}value or the members of the "use" array are not strings or objects. If they are objects, they must contain a "name" property.ASSEMBLY_STEP_NO_ROBOTOne of your step parameters did not include a
{robot: …}key.ASSEMBLY_STEP_UNKNOWN_ROBOTOne of your step parameters is referencing an unknown
{robot: …}.ASSEMBLY_STEP_UNKNOWN_USEOne of your step parameters references an unknown
{use: …}value.ASSEMBLY_URL_TRANSFORM_MISSINGThis Assembly must use the UrlTransform feature as per the contract.
AUTH_EXPIREDThe given auth expires parameter is in the past.
AUTH_KEYS_FOUNDYour auth keys were successfully found.
AUTH_KEYS_NOT_FOUNDYour auth keys could not be found.
AUTH_KEY_CREATEDYour Auth Key was successfully created.
AUTH_KEY_DELETEDYour Auth Key was successfully deleted.
AUTH_KEY_NOT_CREATEDYour Auth Key could not be created.
AUTH_KEY_NOT_DELETEDYour Auth Key could not be deleted.
AUTH_KEY_NOT_UPDATEDYour Auth Key could not be updated.
AUTH_KEY_SCOPES_FOUNDThe Auth Key scopes were successfully found.
AUTH_KEY_SCOPES_NOT_FOUNDThe Auth Key scopes could not be found.
AUTH_KEY_UPDATEDYour Auth Key was successfully updated.
AUTH_SECRET_NOT_RETRIEVEDYour auth secret could not be shown.
AUTH_SECRET_RETRIEVEDYour auth secret could be retrieved.
BAD_PRICINGSomething is wrong with the pricing record attached to your workspace, please contact support.
BILL_LIMIT_EXCEEDEDThe bill limit that was configured for this workspace is exceeded this month.
CANNOT_ACCEPT_NEW_ASSEMBLIESThe uploader is not accepting new Assemblies.
CANNOT_FETCH_ACTIVE_ASSEMBLIESGot an error fetching the number of active Assemblies.
CDN_REQUIREDWe recommend URL Transform is only used in combination with a CDN to cache results. Otherwise each hit is transcoded which may ramp up bills fast for popular pages. That's why you should (have your CDN) set the query parameter or header key: 'cdn' with the value: 'required'.
COMPANION_BASIC_AUTH_UNSETUnable to validate Basic Auth credentials
COMPANION_CREDENTIALS_REQUEST_INVALIDCompanion credentials request contains invalid data
COMPANION_OSS_SUPPORT_PING_REQUEST_INVALIDCompanion OSS support ping request contains invalid data
DO_NOT_REUSE_ASSEMBLY_IDSDo not reuse Assembly IDs.
FILE_DOWNLOAD_ERRORTransloadit was unable to download an external file.
FILE_META_DATA_ERRORThere was a problem extracting meta data information from your file.
FILE_SERVE_NO_RESULTThe /file/serve Step has no result to serve. Possibly your Instructions do not support the input file type.
GET_ACCOUNT_DB_ERRORCould not get workspace, there was a database error.
GET_ACCOUNT_UNKNOWN_AUTH_KEYCould not get workspace, this is an unknown Auth Key.
GRAFANA_WEBHOOK_ERRORGrafana webhook error
GRAFANA_WEBHOOK_WRITE_ERRORGrafana webhook write error
IMPORT_FILE_ERRORTransloadit was unable to import a file.
INCOMPLETE_PRICINGSomething is wrong with the pricing record attached to your workspace, please contact support.
INSUFFICIENT_AUTH_SCOPEThe Auth Key you used for the operation does not have the required scope.
INTERNAL_COMMAND_ERROROne of our commands reported an error.
INTERNAL_COMMAND_TIMEOUTOne of our commands timed out.
INVALID_ASSEMBLY_STATUSThis is an invalid Assembly status.
INVALID_AUTH_EXPIRES_PARAMETERInvalid auth expires parameter provided - we could not parse it.
INVALID_AUTH_KEY_PARAMETERInvalid Auth Key parameter provided - the value is not a string.
INVALID_AUTH_MAX_SIZE_PARAMETERInvalid auth referer parameter provided, could not parse it.
INVALID_AUTH_REFERER_PARAMETERInvalid auth referer parameter given, could not parse it.
INVALID_FILE_META_DATAWe could not parse the meta data for the file #file#.
INVALID_FORM_DATAThe form contained bad data, which cannot be parsed.
INVALID_INPUT_ERRORThe files could not be processed, the provided file format is not supported by this Robot.
INVALID_PARAMS_FIELDBad params field provided, it contains invalid json.
INVALID_SIGNATUREThe given signature does not match ours. Maybe your Auth Key demands to use sha384 instead of sha1?
INVALID_STEP_NAMEYou must not name a step ":original" that is not using the /upload/handle Robot. This will lead to bad job spawning like duped jobs or infinite Assemblies.
INVALID_TEMPLATE_FIELDBad Template field provided, it contains invalid json.
INVALID_UPLOAD_HANDLE_STEP_NAMEWhen using the /upload/handle robot, its step name must be ":original".
MAX_SIZE_EXCEEDEDThe uploaded file exceeded the file size limit.
NO_AUTH_EXPIRES_PARAMETERNo auth expires parameter was provided.
NO_AUTH_KEY_PARAMETERNo Auth Key parameter provided.
NO_AUTH_PARAMETERNo auth parameter provided.
NO_COUNTRYYour workspace has no country record attached to it, please contact support or update your workspace information.
NO_OBJECT_AUTH_PARAMETERBad auth parameter provided, it is not an object.
NO_OBJECT_PARAMS_FIELDBad params field provided, it is not an object.
NO_PARAMS_FIELDNo params field provided.
NO_PRICINGYour workspace has no pricing record attached to it, please contact support.
NO_RESULT_STEP_FOUNDInvalid or no result Step defined, which is mandatory for URL Transform Assemblies.
NO_RPC_RESULT_FROM_IMAGE_RESIZERNo rpc result from image-resizer
NO_SIGNATURE_FIELDNo signature field was provided.
NO_TEMPLATE_IDThis workspace demands that a Template ID is provided. None was provided, though.
PLAN_LIMIT_EXCEEDEDYou have exceeded the usage limit of your Transloadit plan. Please upgrade your plan to make this error message go away, or get in touch with support.
POSSIBLY_MALICIOUS_FILE_FOUNDOne of your files is possibly malicious and cannot be processed.
PRIORITY_JOB_SLOTS_FOUNDYour priority job slots were successfully found.
PRIORITY_JOB_SLOTS_NOT_FOUNDYour priority job slots could not be found.
QUEUES_LIST_ERRORThere was an error fetching the queue stats
QUEUE_ACTORS_ERRORFetching or resetting the queue actors failed
RATE_LIMIT_REACHEDRequest limit reached
REFERER_MISMATCHThis request comes from a location that is not allowed.
REQUEST_PREMATURE_CLOSEDThe original request was closed prematurely.
SERVER_401Authorization required
SERVER_403Forbidden
SERVER_404Unknown method / url
SERVER_500Unexpected error
SIGNATURE_REUSE_DETECTEDThe request was denied for security reasons. If you think this is in error, please get in touch with support.
SYNC_ERRORDatabase failed to sync
TEMPLATE_CREATEDYour Template was successfully created.
TEMPLATE_CREDENTIALS_CREATEDYour Template Credentials were successfully created.
TEMPLATE_CREDENTIALS_DELETEDYour Template Credentials were successfully deleted.
TEMPLATE_CREDENTIALS_FOUNDYour Template Credentials were successfully found.
TEMPLATE_CREDENTIALS_INJECTION_ERRORYour Template Credentials could not be injected.
TEMPLATE_CREDENTIALS_NOT_CREATEDYour Template Credentials could not be created.
TEMPLATE_CREDENTIALS_NOT_DELETEDYour Template Credentials could not be deleted.
TEMPLATE_CREDENTIALS_NOT_FOUNDYour Template Credentials could not be found.
TEMPLATE_CREDENTIALS_NOT_READYour Template Credentials could not be read.
TEMPLATE_CREDENTIALS_NOT_UPDATEDYour Template Credentials could not be updated.
TEMPLATE_CREDENTIALS_READYour Template Credentials were successfully read.
TEMPLATE_CREDENTIALS_TYPES_FOUNDThe Template Credentials types were successfully found.
TEMPLATE_CREDENTIALS_TYPES_NOT_FOUNDThe Template Credentials types could not be found.
TEMPLATE_CREDENTIALS_UPDATEDYour Template Credentials were successfully updated.
TEMPLATE_DB_ERRORThe Template for this request could not be fetched due to a db error.
TEMPLATE_DELETEDYour Template was successfully deleted.
TEMPLATE_DENIES_STEPS_OVERRIDEThis Template had the allow_steps_override option set to false, so clients are not allowed to temper with its steps.
TEMPLATE_FOUNDYour Template was successfully found.
TEMPLATE_INVALID_JSONYour Template contained invalid JSON.
TEMPLATE_LIST_ERRORBad parameters
TEMPLATE_NOT_FOUNDThere was no Template found for the given template_id and workspace.
TEMPLATE_UPDATEDYour Template was successfully updated.
TEMPLATE_VALIDATION_ERRORYour Template didn't pass validation.
TMP_FILE_DOWNLOAD_ERRORTransloadit was unable to download a file from our temporary location.
USER_COMMAND_ERRORAn invalid file or setting caused a command to fail.
VERIFIED_EMAIL_REQUIREDYou need to first verify your email address before you can do this.
WORKER_JOB_ERRORTransloadit was unable to process this Assembly.