Skip to main content
Any verified TechnicallyFit account can create API keys in a free personal developer workspace at app.technicallyfit.com/developer, with no organization required. Organization plans unlock multi-teammate live operations and organization features.
Every error from the TechnicallyFit API has the same body, so you can write one error handler. Branch on code, show or log message, and keep request_id for support.

The error body

422
An error never repeats what you sent. A field error names where the problem is and what is wrong, not the value, so error bodies are safe to log.

Codes

New codes can be added over time. Treat a code you do not know like any other error with the same status: a 4xx needs a change to the request, a 5xx can be retried. not_found and forbidden do not say whether a teammate or a workspace exists. A resource that belongs to another workspace looks the same as one that was never there.

Plan-gated errors

When a live key (tf_live_*) from a personal developer workspace (plan: "free") calls an organization-only feature, the API responds with 403 and code: "plan_required":
403
Personal live keys can call reference:read endpoints and /v1/teammates/@me* for the workspace owner’s own data. Test keys (tf_test_*) have full sandbox access without requiring an Organization plan. To unlock organization features in live mode, use Upgrade to an organization in the developer portal (/onboarding/business) to open the application form (an Organization plan is set up under a contract with TechnicallyFit), or use a key belonging to an organization workspace.

Validation errors

A validation_failed error lists every failing field at once in details.fields, so you can fix them in one pass. A body that is not JSON gets one field with the code invalid_json and an empty path.

Which errors to retry

Retry rate_limit_exceeded, internal_error and engine_unavailable. Do not retry the others without changing the request: the answer will be the same.
  • rate_limit_exceeded and engine_unavailable send a Retry-After header, in seconds. The same number is in details.retry_after_seconds. Wait at least that long.
  • For internal_error, wait one second, then double the wait on each attempt, up to about thirty seconds. Add a little random time to each wait so your retries do not arrive together.
  • Stop after a few attempts and report the failure, with the request_id.
The SDKs raise one error class per code, with code, message, the request ID and details, and retry the three retryable codes for you (see SDKs). Catch the classes you handle and let the rest through:

Getting help with an error

Every response carries an X-Request-ID header, and every error repeats it as request_id. Send that ID to support@technicallyfit.com and we can find the exact request. You can also set the header yourself: send X-Request-ID with up to 64 letters, digits, dots, colons, hyphens or underscores, and the response uses your value.