Skip to main content

Errors

Every error answers with Content-Type: application/problem+json and the same fields:

{
"type": "https://developers.wfskills.com/docs/errors/insufficient-credits",
"title": "Insufficient credits",
"status": 402,
"detail": "This request needs 10 credits; the balance is 0.",
"instance": "/v1/estimates",
"code": "insufficient_credits",
"param": null,
"request_id": "req_<id>"
}
  • code is stable. Read it in your code instead of title or detail.
  • type links to the page of the code.
  • param names the parameter or header at fault, when there is one.
  • request_id identifies the request. Quote it when you contact support.

A validation_failed error also carries errors, with one entry per failing parameter.

Error codes​

HTTPCodeTitle
400invalid_requestInvalid request
401api_key_missingAPI key missing
401api_key_invalidAPI key invalid
401api_key_revokedAPI key revoked
401api_key_expiredAPI key expired
402insufficient_creditsInsufficient credits
402monthly_cap_reachedMonthly cap reached
403scope_missingScope missing
403tenant_suspendedAccount suspended
403terms_not_acceptedTerms not accepted
403ip_not_allowedIP address not allowed
403api_key_pausedAPI key paused
403test_key_on_live_routeLive key required
404not_foundNot found
405method_not_allowedMethod not allowed
409idempotency_conflictIdempotency conflict
413payload_too_largePayload too large
415unsupported_media_typeUnsupported media type
422validation_failedValidation failed
422idempotency_key_reusedIdempotency key reused
422content_rejectedContent rejected
422sandbox_input_on_liveSandbox input on a live key
422unsupported_in_regionUnsupported in region
422webhook_url_rejectedWebhook URL rejected
422webhook_endpoint_limitWebhook endpoint limit reached
422event_not_redeliverableEvent not redeliverable
422records_cap_reachedRecords cap reached
422billing_profile_incompleteBilling profile incomplete
422pack_unknownUnknown pack
429rate_limitedRate limited
429daily_quota_reachedDaily quota reached
429sandbox_daily_cap_reachedSandbox daily cap reached
500internal_errorInternal error
503model_unavailableEstimator unavailable
503service_unavailableService unavailable