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

Error Fields

code
string

The code of the errors.

These are stable and could be used programatically to detect and handle the error type.

message
string

Friendly message for the error.

This is meant to be displayed to users.

data
object

Extra information about the error.

This field may be absent and changes for each API endpoint and error code.