Error format
An error has a code your software can test, and a message for people:
{
"error": {
"code": "ROUTE_NOT_FOUND",
"message": "No route matched 'GET /DoesNotExist'. Closest route: GET, POST /NotActiveReasons.",
"target": "/DoesNotExist",
"timestamp": "2026-12-02T15:58:25+01:00",
"type": "NotFoundException"
}
}Some errors have the same fields without the error wrapper. Read error.code, and else code.
Status codes
| Status | Meaning | Retry? |
|---|---|---|
400 | The request is wrong: a query option, a value, a body | No: fix the request |
401 | No token, or it expired | Get a new token, then once |
403 | A scope or license is missing (AUTHORIZATION_REQUIREMENTS_NOT_FULFILLED), or a key field in a PATCH | No |
404 | No such entity set, route or row (ROUTE_NOT_FOUND names the closest route) | No |
405 | The entity set doesn't have this operation | No |
409 | Two saves of the same row at the same time | Yes |
412 | If-Match missing, or the row changed (see Writing data) | After reading the row again |
422 | The data doesn't pass Fledge's checks | No: fix the data |
429 | Too many requests | Yes, after waiting |
500 | An error in the API, or a request the API doesn't support yet (see Known limitations) | At most a few times |
501 | The entity set can't be written | No |
503 | The API is busy or being updated | Yes, after waiting |
An integration on v2-latest that suddenly gets 400, 404 or 500 errors after it worked for weeks may meet a renamed field or entity set of a new release. Check the reference, or move to the stable version (see Versions).
Rate limits
The API limits how fast you can call it:
| Limit | Per | Burst |
|---|---|---|
| 10 requests per second on average | IP address | 50 |
| 120 requests per minute | Access token from an API key | 20 |
Over a limit, the API answers 429. Then wait: as long as the Retry-After header says, else start at one second and double the wait at each next 429. Don't send requests in parallel to get around the limit: send one request, wait for its answer, then send the next.
Every request also costs work in your company's Fledge database, which colleagues use at the same time. Good practice shows how to ask for less.