Skip to main content
All error bodies are JSON (messages in English). error.code is an integer and always matches the HTTP status of the response.

Shape

  • request_id — correlate with the X-Request-Id response header.
  • details — optional object; extra keys allowed for forward compatibility.

HTTP status reference

Distinguish multiple 401 or 400 cases using message and details.

Validation details.reason (create tag / project code)

When code is 400 from those endpoints, details.reason may be:
  • invalid_json — body is not valid JSON
  • required_field — e.g. missing name (details.field may be name)
  • duplicate_name — name already exists for the team (details.field may be name)
Full JSON schemas: OpenAPI components PublicError, PublicErrorDetails, PartnerValidationErrorReason (see API Reference in this site, sourced from openapi.yaml).