Error Object

Under certain conditions, calling a method on an endpoint will return an error object with an HTTP status code in the 4xx or 5xx ranges. This object contains the specific error code, a short explanation, as well as a link to a longer description for the error on the error types page.

Attributes

Name Type Description
object string

The string error.

location string

Documentation URI for error.

code string

Error code.

message string

Explanation for the error.

Example

  • JSON Response

Omise uses cookies to improve your overall site experience and collect information on your visits and browsing behavior. By continuing to browse our website, you agree to our Privacy Policy. Learn more