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 CodeDescription
parameter_invalidThe value provided for the parameter is invalid
parameter_missingNo value has been provided for the parameter
resource_not_foundThe resource couldn't be found for the identifier
{
  "errors": {
    "code":"resource_not_found",
    "message":"Resource not found",
    "parameter":"id"
  }
}