Success Codes
Error Codes
Error Response Format
All error responses follow a consistent format:Common Error Codes and their solutions
401 Unauthorized - authentication_failed / not_authenticated
Causes:
- Missing
Authorizationheader, or a scheme other thanServiceToken(not_authenticated) - Invalid service token (
authentication_failed) - Disabled (revoked) service token (
authentication_failed) - Using environment API key instead of service token
400 Bad Request - error / invalid
Common Causes:
- Missing required fields
- Invalid field formats
- Invalid enum values
404 Not Found
Common Causes:- Given entity in the request is not found
409 Conflict - no_changes_to_commit
Common Causes:
- Calling a commit endpoint when the draft is identical to the live version