2xx status means the request worked;
anything else means it did not, and the response body says why.
Error format
Every error returns the same JSON body:
The same
code is also sent in the X-EDN-Error-Code response header.
Validation errors (422) also include errors, with one entry per problem:
Status codes
EDN returns
404, not 403, for items in another account, so it never
reveals whether an ID exists.
Retrying safely
- Retry:
429(afterRetry-After),500and503, with a growing wait between attempts. - Don’t retry unchanged:
400,401,404,409,413,415and422. Fix the request first.
Python
Next steps
Authentication
API keys and how to send them.
API Reference
The errors each endpoint can return.
Quickstart
A working example.
