However, for error response codes (i.e., all the others), the response shape will be as follows:

object

  • message : string (non-empty)

There may also be other keys with more information about the issue.

The message key is a human-readable description of what went wrong. It is not a stable, machine-readable code.

The text in the message key may change at any time. Your integration must not hard-code against any specific value to understand what happened.