Skip to main content

Errors

Failures are reported with a standard status code:

StatusMeaning
400The request body was missing a required field or malformed.
401No API key, an unrecognised key, or a key that has been disabled or deleted.
403The key is valid but was not granted the permission this endpoint needs.
404The resource does not exist, or does not belong to the project in the path.
500Something failed on our side.
Check success on synchronous runs

POST .../runsync currently returns 200 even when the workflow itself fails, with "success": false and an err in the body. Branch on the success field rather than on the status code for that endpoint. Queued runs and status polls do set a failure status.