Skip to main content
By default, the router retries GraphQL operation of type Query on specific network errors and HTTP status codes (502, 503, 504, 429). We don’t retry after the body is consumed. The default retry strategy is Backoff and Jitter. You can read more about our default retry strategy on the AWS Architecture Blog.
  • enabled: Enables the retry mechanism for GraphQL query operations.
  • algorithm: Select the algorithm for the retry. Currently, only backoff_jitter is supported. Additional fields depend on the algorithm selection:
  • backoff_jitter
    • max_attempts: The maximum number of attempts before the operation is considered a failure.
    • interval: The time duration between each retry attempt. Increase with every retry.
    • max_duration: The maximum allowable duration between retries (random).

Debugging

You can see the attempts by enabling debug mode.
Mutations won’t be retried because they aren’t idempotent.