Skip to main content

Execution Model

GraphQL Response Behavior

GraphQL operations can return both data and errors in the same response.

  • Always inspect errors even when data is present.
  • Mutation payload fields like success / message are useful, but they do not replace GraphQL-level error handling.

HTTP Status Behavior

  • 200: request parsed/executed (may still include GraphQL errors and partial data).
  • 400: parse or validation failure (for example, invalid field selections).
  • 401 / 403: authentication/authorization failures.
  • 429: rate-limited requests.