TRIAL_LIMIT_REACHED
A company on a free trial has used one of the trial's allowances, so nothing was sent or started. context.limit names the allowance (emails_per_day on sending an invoice or a quote, ocr_per_month on digitizing a document; an open list, so accept a value you do not know), context.max its number and context.resets_on the ISO date the count starts again.
Typical cause
A trial company sent more customer e-mails in a day, or digitized more documents in a month, than the trial allows (Tracken sets the numbers; today 50 and 100). A company on a chosen plan never meets it, and while the subscription is switched off it is never answered.
Fix
- Do not retry before
context.resets_on(days and months are counted in Europe/Tallinn): until then the same request fails the same way. - Tell the person; an owner who chooses a plan in the app lifts every trial limit at once.
Where it comes from
These 3 operations name it:
Related
{
"error": {
"code": "TRIAL_LIMIT_REACHED",
"message": "…",
"request_id": "req_01JB4Z0K3Q7V8W9X0Y1Z2A3B4C",
"doc_url": "https://developers.tracken.ee/errors/TRIAL_LIMIT_REACHED"
}
}code, never on message, which is developer-facing English and may change. Field problems are in details, each with a JSON Pointer; the figures for your own text are in context. Quote request_id when you contact support.tracken quotes send …
# exits 7 and prints the code, the message, each field problem and the request idimport { isApiError } from "@tracken/sdk";
try {
await tracken.quotes.send(…);
} catch (error) {
if (!isApiError(error, "TRIAL_LIMIT_REACHED")) throw error;
// Do not retry before context.resets_on (days and months are counted in Europe/Tallinn): until then the same request fails the same way.
}