Softr API
Softr API errors and rate limits
Read Softr API error responses and codes, and stay within the rate limits of 50 reads and 30 writes per second for each API token. Learn how to retry.
When a request fails, the API answers with an HTTP status and a JSON body that says why. When you send too many requests, it answers 429. Both are described here.
Rate limits
Rate limits apply to each token.
| Operation type | Limit |
|---|---|
Reads (GET, POST /search) | 50 requests per second |
Writes (POST, PUT, PATCH, DELETE) | 30 requests per second |
Above the limit, the API returns 429 Too Many Requests. Wait a short time, then retry.
Error format
An error response has this shape:
{
"message": "Human-readable error message",
"errorCode": "MACHINE_READABLE_CODE",
"details": {
"fieldId": "Additional context",
"traceId": "abc-123"
}
}Error codes
| Code | HTTP status | Description |
|---|---|---|
BAD_REQUEST | 400 | Invalid request format or data |
VALIDATION_ERROR | 400 | Field validation failed |
UNKNOWN_FIELD | 400 | Unrecognized field in the request |
UNAUTHORIZED | 401 | Missing or invalid token |
QUOTA_EXCEEDED | 402 | Plan quota limit reached |
FORBIDDEN | 403 | Insufficient permissions |
RESOURCE_NOT_FOUND | 404 | The resource does not exist |
CONSTRAINT_VIOLATION | 409 | A data constraint failed, such as a duplicate unique value |
PAYLOAD_TOO_LARGE | 413 | The request body exceeds 64 MB |
TOO_MANY_REQUESTS | 429 | Rate limit exceeded |
SERVICE_UNAVAILABLE | 503 | The service is temporarily unavailable |