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.
The pending_connect code indicates that Flatpeak Connect is accessing the customer’s tariff for the first time and the connection is pending. See Tariff connection pending.
The no_price_data code indicates that Flatpeak was unable to retrieve price data for an extended period and has already emitted the tariff.fetch.failed webhook. Review the Required webhooks article for more information.
When you receive any of these errors, we recommend not to retry the same request more frequently than once every 15 minutes.