code you can branch on:
scope, retry_after_seconds). Branch on code, not on
message. Every response also carries an X-Request-Id header — include it when
contacting support.
Catalogue
| Code | HTTP | Meaning |
|---|---|---|
invalid_api_key | 401 | Missing, malformed, or unknown API key. |
invalid_signature | 401 | Bad/missing HMAC signature, stale timestamp, or replay. |
api_not_enabled | 403 | Your plan does not include API access. |
scope_not_granted | 403 | Your plan does not grant the required scope. |
scope_not_consented | 403 | The crew member hasn’t consented to that scope for you. |
not_found | 404 | The vessel/crew isn’t attributed to you (or doesn’t exist). |
partner_rate_limited | 429 | You exceeded your rate-limit budget. |
partner_mode_mismatch | 403 | A test-mode key was used against a live environment. |
422 response rather than this envelope.