All API errors return a consistent JSON shape:Documentation Index
Fetch the complete documentation index at: https://docs.mymarky.ai/llms.txt
Use this file to discover all available pages before exploring further.
Error types
| Type | HTTP Status | Meaning |
|---|---|---|
authentication_error | 401 | Missing or invalid credentials |
permission_error | 403 | Valid credentials but insufficient access |
not_found_error | 404 | Resource doesn’t exist or doesn’t belong to your org |
invalid_request_error | 400, 422 | Bad input, validation failure |
rate_limit_error | 429 | Too many requests |
api_error | 500+ | Server-side error |
Error codes
authentication_required
Missing or invalidAuthorization header. Include your API key as a Bearer token:
permission_denied
Your API key doesn’t have access to this resource. Common causes:- The business doesn’t belong to your organization
- Your plan doesn’t include API access
resource_not_found
The resource ID doesn’t exist or has been deleted. Check the ID and try again.missing_field
A required field is missing from the request body. Check theparam field in
the error response for which field is needed.
invalid_value
A field has an invalid value. Check theparam field and the message for details.
validation_error
The request body failed validation. Theparam field indicates which field
has the issue. If multiple fields failed, check error.details for all of them.
rate_limit_exceeded
You’ve exceeded 100 requests per minute. Check these response headers:| Header | Meaning |
|---|---|
X-RateLimit-Limit | Max requests per window (100) |
X-RateLimit-Remaining | Requests left in this window |
X-RateLimit-Reset | Seconds until the window resets |
Retry-After | Seconds to wait before retrying |
