> ## Documentation Index
> Fetch the complete documentation index at: https://api.docs.flare.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors

Flare APIs return a common error format for HTTP 4XX error codes.

<ResponseExample>
  ```json Example of an Error Response theme={null}
  {
    "error": {
      "code": "INVALID_IDENTIFIER_DATA",
      "message": "fqdn is invalid",
      "data": null
    }
  }
  ```
</ResponseExample>

## Error Fields

<ResponseField name="code" type="string">
  The code of the errors.

  These are stable and could be used programmatically to detect and handle the error type.
</ResponseField>

<ResponseField name="message" type="string">
  Friendly message for the error.

  This is meant to be displayed to users.
</ResponseField>

<ResponseField name="data" type="object">
  Extra information about the error.

  This field may be absent and changes for each API endpoint and error code.
</ResponseField>
