In case of an error, the Gateway returns appropriate HTTP status code and error body. Embedded Chain uses HTTP status codes to indicate the success or failure of an API request.
"2xx": indicates success
"4xx": indicates developer or client application related errors
"5xx": indicates Embedded Gateway related errors
Error Schema
NAME
TYPE
DESCRIPTION
status_code
integer
Standard HTTP status code of response
error_type
string
Identifies the broad category of error that occurred. For programmatic use.
error_sub_type
string
Describes the error in more detail For programmatic use. Optional.
message
string
A message explaining the error. Meant for the developer.