Skip to content

Should not automatically retry on serverside errors#13641

Closed
daixi98 wants to merge 7 commits intoaws-amplify:mainfrom
daixi98:main
Closed

Should not automatically retry on serverside errors#13641
daixi98 wants to merge 7 commits intoaws-amplify:mainfrom
daixi98:main

Conversation

@daixi98
Copy link

@daixi98 daixi98 commented Jul 24, 2024

Description of changes

Amplify should never automatically try to retry API requests if they fail on serverside errors (500, 502, 503, 504)

Issue #, if available

#13093

Description of how you validated changes

Checklist

  • PR description included
  • yarn test passes
  • Unit Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

Checklist for repo maintainers

  • Verify E2E tests for existing workflows are working as expected or add E2E tests for newly added workflows
  • New source file paths included in this PR have been added to CODEOWNERS, if appropriate

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@daixi98 daixi98 requested review from a team as code owners July 24, 2024 20:31
@soberm
Copy link
Contributor

soberm commented Aug 1, 2025

Hi @daixi98, thanks for this PR! This has already been addressed in amplify-js 6.14.1, with the option to disable retry for the REST APIs.

@soberm soberm closed this Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants