request_id when you contact Duckie support about a failed API request.
Error Codes
| HTTP status | Code | Meaning |
|---|---|---|
400 | invalid_request | A path parameter, query parameter, cursor, or request format was invalid |
401 | unauthenticated | The Authorization header is missing, malformed, unknown, expired, or revoked |
403 | permission_denied | The API key does not include the required read scope |
404 | not_found | The requested resource was not found in the API key’s organization |
429 | rate_limited | A pre-auth, key, organization, or endpoint rate limit was exceeded |
500 | internal_error | Duckie could not complete the request |
Authentication Errors
Missing or malformed authentication returns:Permission Errors
If a key is valid but lacks the required scope, the API returns:Not Found Errors
Detail endpoints return404 not_found when the resource does not exist in the API key’s organization. This includes valid UUIDs that belong to another organization.