Errors

When there is an error, Modern Treasury returns an object with as much descriptive information as we can. A list of common error codes can be found below.

Error Code

Description

parameter_invalid

The value provided for the parameter is invalid

parameter_missing

No value has been provided for the parameter

resource_not_found

The resource couldn't be found for the identifier

{
  "errors": {
    "code":"resource_not_found",
    "message":"Resource not found",
    "parameter":"id"
  }
}