Skip to content

Aero developer docs

Error codes

Errors return an HTTP status plus a stable code, so your Aero can branch on what went wrong.

Codes

CodeMeaning
AERO_INVALID_TOKENThe token is wrong, revoked, or rotated away.
AERO_DISABLEDThe Aero app is disabled.
AERO_SUSPENDEDAn admin suspended this Aero.
AERO_INSTALLATION_NOT_FOUNDYou're not installed in that Nexus.
AERO_PERMISSION_DENIEDThe install lacks the permission this action needs.
AERO_SCOPE_DENIEDThe target Space is outside your install's scope.
AERO_RESOURCE_NOT_FOUNDThe Space or resource doesn't exist in that Nexus.

The api() helper in the Runtime API page attaches the code to the thrown error as err.code.