Public APIError codes
Public APIError codes
Request validation failed (validation_failed)
What the GetItDone API problem code validation_failed (HTTP 400) means, what causes it, and how to fix it.
- HTTP status: 400
- Problem type URI: https://nowgetitdone.com/docs/api/problems/validation-failed
What it means
The request body or query failed schema validation. The errors array names each offending field by JSON Pointer.
Likely causes
- A required field was missing or had the wrong type.
- A value fell outside its allowed range or enum.
- A cursor was reused with different filters than the page it came from.
How to fix
- Read the
errorsarray — each entry has apointer, acode, and amessage. - Fix the named field and retry. The request was never applied, so retrying is safe.
Example problem+json
{
"type": "https://nowgetitdone.com/docs/api/problems/validation-failed",
"title": "Request validation failed",
"status": 400,
"code": "validation_failed",
"request_id": "req_a1b2c3d4"
}Related
Feature not enabled on this plan (feature_not_enabled)
What the GetItDone API problem code feature_not_enabled (HTTP 403) means, what causes it, and how to fix it.
Resource not found (resource_not_found)
What the GetItDone API problem code resource_not_found (HTTP 404) means, what causes it, and how to fix it.