Skip to content
CatSuite

Language

Choose whether the site follows your browser or always uses Brazilian Portuguese or English.

Get it free

Reference

SDK error codes

The stable E_* codes returned by CatSuite extensions, packages, workflows and connectors, with the meaning of each one.

2 min read

SDK errors use stable E_* codes, with translated descriptions in the interface. Use the code to handle failures in your JavaScript and to search the logs.

JavaScript
try {
  await cat.http.send({url: 'https://api.aurora.test/timeout'});
} catch (error) {
  if (error.code === 'E_TIMEOUT') {
    cat.log({'pt-BR': 'Tempo esgotado.', en: 'Timed out.'}, 'warning');
  }
}

Package and manifest #

CodeMeaning
E_PACKAGEinvalid package
E_MANIFESTinvalid manifest
E_TRANSLATIONthe package must include Brazilian Portuguese and English
E_VERSIONincompatible package or SDK version
E_ENTRYinvalid JavaScript entry file
E_HASHpackage integrity does not match the manifest
E_PATHthe package contains a forbidden path
E_SIZEthe size limit was exceeded
E_SETTINGSinvalid settingsSchema
E_SIGNATUREinvalid signature
E_UNSIGNEDlegacy unsigned file; review and approve it to create a locally signed revision

Execution #

CodeMeaning
E_SERVICEextension engine unavailable
E_RUNTIMEextension execution failed
E_SYNTAXthe JavaScript code contains a syntax error
E_EVENTinvalid event or handler
E_HOOK_ASYNCmutation handlers must be synchronous
E_TIMEOUTexecution timed out
E_MEMORYthe memory limit was exceeded
E_QUEUEthe execution queue is full
E_LIMITthe extension or resource limit was reached
E_DISABLEDthe extension is disabled
E_SUSPENDEDthe extension was suspended after consecutive failures
E_COMMANDinvalid or unavailable command
E_UIinvalid user interface component

Permissions and destinations #

CodeMeaning
E_PERMISSIONthe extension does not have permission for this operation
E_APPROVALreview permissions before enabling
E_HOSTdestination outside the allowed scope
E_PRIVATE_DESTINATIONthe destination resolved to a private address without explicit scope
E_PROXY_LOOPthe request points to CatSuite’s own proxy
E_METHODinvalid method list

HTTP #

CodeMeaning
E_HTTPinvalid HTTP message
E_HEADERinvalid HTTP header
E_BODYthis HTTP body cannot be modified
E_CANCELLEDrequest cancelled
E_EXTERNALthe simulated API returned an error
E_LABORATORYenable laboratory mode in the extension settings

Data and credentials #

CodeMeaning
E_STORAGEthe storage limit was exceeded
E_FINDINGinvalid finding
E_CREDENTIALcredential unavailable
E_CREDENTIAL_PROTECTIONoperational credentials require SECRET protection
E_RECOVERYsecure recovery could not be completed

Workflows and connectors #

CodeMeaning
E_STEPinvalid or unregistered step
E_PARSERinvalid or duplicated parser
E_CHECKPOINTinvalid checkpoint or larger than 32 KiB
E_FLOWinvalid workflow definition
E_JOBthe remote task is unavailable; review its outcome before resending
E_CONNECTORfailure talking to the connector
E_PAIRINGinvalid pairing
E_CAPABILITY_UNAVAILABLEthe capability is not available on the connector
E_SCHEMA_OPERATIONinvalid OpenAPI operation selection