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"
}
}| HTTP | type | Meaning |
|---|---|---|
| 400 | invalid_request_error | invalid JSON, parameter or body field |
| 401 | authentication_error | missing, invalid, expired, revoked or suspended key |
| 403 | permission_error | scope, role, plan feature, IP allowlist or policy |
| 404 | not_found_error | no such object in this workspace (other workspaces look the same) |
| 409 | invalid_request_error / idempotency_error | edit conflict, a state that forbids the change, an Idempotency-Key reused with another body |
| 429 | rate_limit_error | a limit was reached; wait Retry-After seconds |
| 5xx | api_error | our 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#download_link_invalid#channel_disabled#workspace_inactive#ai_failed#session_missing#role_insufficient#