Skip to main content
All Workspace API errors use this envelope:
  • error.code — machine-readable SCREAMING_SNAKE_CASE identifier. Stable across releases; safe to switch on.
  • error.message — human-readable description. May change; do not switch on it.
  • error.details — optional structured context (e.g., which field failed, allowed values).
  • request_id — UUID for this specific request. Include it when contacting support.

Common error codes

Authentication errors (401)

The most common AUTH_INVALID_CREDENTIALS cause is using the wrong auth scheme. See the Authentication guide for which credentials apply to which surface.