- Qubitara Connect
- Errors and limits
Errors and limits
Error format#
Every error response has the same shape:
{
"success": false,
"message": "Validation failed.",
"errors": [{ "field": "email", "message": "email must be a valid email" }]
}message says what went wrong. errors appears when there are details, such as which fields failed validation.
Status codes#
Status | Meaning | What to do |
|---|---|---|
400 | The request could not be understood, or a database rule was broken. | Read the message. |
401 | No valid credential. For an API key: not valid, revoked or expired. | Check the Authorization header and the key. |
403 | Not allowed. The key lacks a scope ("Missing permission: ..."), the organization is suspended, or a feature is not enabled for the organization. | Use a key with the right scope, or contact Qubitara. |
404 | No such route or item. | Check the path and the id. |
409 | The record already exists. | Fetch the existing record instead. |
413 | The request body is too large. | Send less data. |
422 | Validation failed. The | Fix the fields listed. |
429 | Too many requests, or the monthly API allowance is used up. | Wait. See below. |
500 | Something failed on our side. | Retry later, and contact support if it continues. |
Limits#
Request rate#
A general limit of 600 requests per 15 minutes applies per client IP address. Over it, you get a 429 with the message "Too many requests, please try again later." and standard rate-limit headers. Back off instead of retrying at once.
Monthly API allowance#
Each plan can set a monthly allowance of API-key requests. Requests made by people in the console do not count. Until a figure is set for a plan, the allowance is unlimited.
When a limit applies, responses carry
X-RateLimit-LimitandX-RateLimit-Remaining.When it is used up, you get a 429 with the code
API_QUOTA_EXCEEDED, and aRetry-Afterheader counting down to the first day of next month (UTC). Retrying earlier fails the same way.Your usage is shown under Developer.
Other limits#
Item | Limit |
|---|---|
Items per page in a list | 200 |
Scopes on one API key | 1 to 50 |
Events on one webhook endpoint | up to 30 |
Contact import | 8 MB and 10,000 rows per file |
Next steps#
Authentication and API keys
Webhooks