Skip to main content
Formalingo

Errors

HTTP status codes and error response format used by the Formalingo API.

Errors

All error responses follow the same format:

{
  "success": false,
  "error": "Human-readable error message",
  "hint": "Optional guidance on how to fix the issue"
}

HTTP Status Codes

CodeMeaning
200Success
201Created — resource was successfully created
400Bad Request — validation failed or invalid input
401Unauthorized — missing or invalid API key
403Forbidden — API key lacks the required scope
404Not Found — resource doesn't exist or doesn't belong to your workspace
429Too Many Requests — rate limit exceeded
500Internal Server Error — something went wrong on our end

Common Errors

401 Unauthorized

{ "success": false, "error": "Invalid API key" }

Check that your key starts with af_live_ and hasn't been revoked.

403 Forbidden — missing scope

{
  "success": false,
  "error": "Forbidden",
  "hint": "This action requires the 'write:forms' scope. Add it to your API key."
}

Go to Settings → API Keys and add the required scope to your key.

400 Validation Error

{ "success": false, "error": "String must contain at least 1 character(s)" }

Check the request body against the API schema.

404 Not Found

{ "success": false, "error": "Form not found" }

The resource either doesn't exist or doesn't belong to your workspace.

On this page