Skip to main content

Launch: −50% for 3 months with LANSARE50

Pricing →

Errors

The error shape, the types and every code the API returns.

{
  "error": {
    "type": "invalid_request_error",
    "code": "parameter_invalid",
    "message": "limit must be <= 100.",
    "param": "limit",
    "request_id": "req_8f2c1a7d9e0b4c3a",
    "doc_url": "https://mform.md/docs/api/errors#parameter_invalid"
  }
}
HTTPtypeMeaning
400invalid_request_errorinvalid JSON, parameter or body field
401authentication_errormissing, invalid, expired, revoked or suspended key
403permission_errorscope, role, plan feature, IP allowlist or policy
404not_found_errorno such object in this workspace (other workspaces look the same)
409invalid_request_error / idempotency_erroredit conflict, a state that forbids the change, an Idempotency-Key reused with another body
429rate_limit_errora limit was reached; wait Retry-After seconds
5xxapi_errorour side; quote request_id

Every code has an anchor below; doc_url in the error links to it.

api_key_missing #
api_key_invalid #
api_key_revoked #
api_key_expired #
api_key_suspended #
scope_missing #
plan_feature_missing #
plan_limit_reached #
ip_not_allowed #
resource_missing #
parameter_invalid #
parameter_missing #
body_invalid_json #
edit_conflict #
question_has_answers #
export_too_large #
ai_budget_reached #
idempotency_key_reused #
rate_limited #
internal_error #
parameter_unknown #
confirmation_required #
url_not_allowed #
legacy_endpoint #
channel_disabled #
workspace_inactive #
ai_unavailable #
ai_failed #
session_missing #
role_insufficient #