Limits and errors
Rate limits
Limit | Value |
|---|---|
Requests per minute, per key | 60 by default. Higher tiers (300 or 1,000 a minute) are set by Fr8Labs on request |
Requests per minute, per company (all your keys together) | 1,200 |
Requests in flight at the same time, per key | 4 |
CRM search ( | 20 a minute, on top of the key's own limit |
Requests per minute from one IP address, before the key is checked | 600 |
Minutes are fixed windows.
GET /meshows your key's own limit inrateLimitPerMin.The per-IP limit matters if many systems reach the API through one shared address. It counts every request from that address, whatever the key.
When you hit a limit
You get 429 Too Many Requests with the error code RATE_LIMITED and a Retry-After header: the number of seconds to wait. The message says which limit you hit.
What to do:
Wait for the
Retry-Afterseconds, then retry.For writes, retry with the same
Idempotency-Key. See Writes: send, or preview first.Spread your calls out. Run at most 4 requests in parallel per key.
If you regularly need more, ask Fr8Labs for a higher tier.
Requests
JSON only. Send bodies as
application/json. Other content types are refused with415. Form bodies are never read.Body size: at most 256 KB (
413above that).Strict fields. An unknown query parameter or body field is refused with
400 VALIDATION_FAILED, anddetailsnames it. Check the spelling against the live reference.No company or tenant ids. Never send
company_idortenant_id(orcompanyId,tenantId, in any spelling). The key decides the company. See Authentication and keys.Dates in query parameters are calendar dates:
YYYY-MM-DD.Request id. Every response carries an
X-Request-Idheader (req_followed by 16 hex characters). Log it. Quote it when you contact support.
Paging through lists
Lists are paged in a few different ways, depending on the module. Each list in the live reference shows its own parameters.
Lists | Ask for | If you leave | The answer tells you |
|---|---|---|---|
CRM (leads, deals, organizations, contacts, attachments) |
| 20 |
|
Tasks ( |
| 50 |
|
Quotations ( |
| 10 |
|
Partners, charge codes ( |
| 50 | The rows. Narrow with |
Accounting: GL accounts, customers and suppliers, items, outstanding invoices |
| 200 |
|
Accounting: invoices to post |
| 100 for each of sales and purchase |
|
Accounting: cost centres, bank accounts, item tax templates | — | Every row is returned | The rows |
Accounting: documents ( |
| 50 |
|
Accounting: assets ( |
| 100 |
|
Accounting: bank reconciliation |
| 50 |
|
Vendor rate sheets, quotation templates |
| 50 | The rows. Quotation templates also return |
The error format
Every answer that is not a success (4xx or 5xx) has the same shape (the details text below is an example):
{
"error": {
"code": "VALIDATION_FAILED",
"message": "The request is not valid. See details.",
"requestId": "req_0123456789abcdef",
"details": [
{ "path": "query.limit", "message": "Number must be less than or equal to 50" }
]
}
}Field | Meaning |
|---|---|
| A stable code from the table below. Build your error handling on |
| A short explanation in plain English. It may change wording over time |
| The same value as the |
| More information, when there is any (otherwise an empty list) |
What details holds:
VALIDATION_FAILEDandTENANT_FIELD_FORBIDDEN: one item per problem, withpath(where in the request) andmessage.BLOCKED: the blocking findings, each with acode, amessage, and sometimes afieldandmeta. These codes are specific to each write (for exampleCUSTOMER_NOT_FOUND,PERIOD_CLOSED,CHANGED_SINCE_DRY_RUN) and are listed per operation in the live reference.WARNINGS_NOT_ACKNOWLEDGED: one item per warning you did not acknowledge, in full:code,message, andfield/metawhere the warning has them.
Some answers carry extra headers:
Header | When |
|---|---|
| On |
| On |
| On a write answer that was replayed from a stored answer |
Error codes
HTTP | Code | What it means | What to do |
|---|---|---|---|
400 |
| The request is not valid: a missing, unknown or malformed field or parameter | Read |
400 |
| The request carries a company or tenant id ( | Remove it. The key decides the company. ( |
400 |
| A key or a credential-style parameter was found in the URL | Send the key only in the |
400 |
| A write has no | Send a valid key, for example a UUID |
401 |
| No key, a malformed key, or a key that is not recognised | Send |
401 |
| The key has been revoked | Create a new key in the API access tile |
401 |
| The key's overlap after a rotation has ended | Use the replacement key |
403 |
| The API is switched off for your company | Contact Fr8Labs. Your keys are not revoked |
403 |
| Your company's API user is not available | Contact Fr8Labs |
403 |
| The key was not created with the scope this operation needs | Create a key with that scope |
403 |
| The key has the scope, but your company's API user does not hold that access now (for example, the module is off) | Ask your company administrator to turn the module back on or restore the access |
403 |
| A write was sent from the portal's "Try it" console on live | The console runs reads and dry runs only. Send writes from your own system with a key |
403 |
| A test key was used, and the sandbox is not switched on for your company | Ask Fr8Labs to switch on the test environment, or use a live key with reads and dry runs |
404 |
| No such endpoint, or no such record for your company | Check the path and the id. A record of another company is never visible |
405 |
| The path exists, but not with this method | Use a method from the |
409 |
| The request conflicts with the record's current state | Read the record again and start over with a new dry run |
409 |
| Reserved | Not returned today. A likely duplicate is reported by a named code instead: |
409 |
| Your company already holds the most active keys it may hold | Revoke a key you no longer use, or ask Fr8Labs to raise the limit |
409 |
| The write raised warnings you did not acknowledge | Review the codes in |
409 |
| The write differs from its dry run | Send exactly the dry run's body, or run a new dry run |
409 |
| The dry run is older than 15 minutes | Run the dry run again |
409 |
| The dry run has already been used | Run a new dry run for a new change. To retry the same write, reuse its |
409 |
| A write with this | Wait |
412 |
| The record changed since the version you sent in | Read the record again, run a new dry run, send the new version |
413 |
| The body is larger than 256 KB | Send less per request |
415 |
| The body is not | Send JSON with |
422 |
| Something blocks the write. The findings are in | Fix what |
422 |
| This | Use a new key for a new change |
422 |
| The system of record refused the request | Read the |
428 |
| Reserved | Not returned today: every write accepts a request without a dry run |
428 |
| This write changes an existing record and needs | Send the record's version in |
429 |
| Too many requests | Wait |
500 |
| Something went wrong on the Fr8Labs side | Retry later. If it persists, contact support with the |
502 |
| A system behind the API answered in an unexpected shape. Fr8Labs has been alerted | Retry later. Contact support with the |
503 |
| A system this request depends on is unavailable | Wait |
503 |
| Your company's API user cannot act in the freight system right now | Retry later. If it persists, contact Fr8Labs |
403 |
| Reserved | Not returned today |
409 |
| Reserved | Not returned today |
409 |
| Reserved | Not returned today |
A write can also answer 202 Accepted with { "status": "OUTCOME_UNKNOWN", "checkUrl": "…" }. That is not an error: the change was sent and its result is not known yet. Do not send it again. See When the outcome is unknown.
Handling errors well
Branch on
code, not on the HTTP status alone and never onmessage.Retry only what is safe to retry:
429,503,409 IN_PROGRESS, and network errors. Wait theRetry-Afterseconds. Reuse the sameIdempotency-Keyfor writes.Do not retry
400,401,403,404,412,422or428unchanged. They will fail the same way.Log the
requestIdwith every error.
Documentation owner: Fr8Labs Customer Success. Text reviewed: 18 October 2026.