Code | Description |
---|---|
2XX | Indicates success. |
4XX | Indicates an invalid request. (error type: invalid_request ) |
5XX | indicates FlatPeak-related issues (error type: api_error ). |
Property | Description |
---|---|
object | Indicates API object type, i.e. error . |
live_mode | Indicates if live or test mode API key was used. |
context | Indicates error context. It provides information on which service and method has failed. For example, connect.postal_address_capture or api.location_create . |
type | Indicates error type; possible values are invalid_request - when your request is invalid. And api_error when the FlatPeak service cannot process the request (these are rare). |
code | Connect-related error codes are listed in the Connect section of api reference under the code sample of every page. General API-related error codes are listed in the API error codes table later on this page. Example: country_code_missing . |
message | Error description in the English language. Example: Country code is required . |
connect_token | The Connect token used to make the request resulted in an error. |
time_created | Timestamp when this error occurred. |
422
when trying to access any of the API endpoints.