-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide option to trigger retry from successful (200) response in Axios's response interceptors #267
Comments
This option is also needed if using a custom |
@zhen-one you should be able to use the validateStatus function of axios together with retryCondition to accomplish this. |
apologies, in this case |
this should be now covered by #272 thanks to @obscurecat64 |
Reason:
Certain APIs consistently return a 200 HTTP code, with custom error codes embedded within the data payload
Like below
Please add an option to decide whether to trigger retry from response or error.
The text was updated successfully, but these errors were encountered: