AUR5004
Last updated
Was this helpful?
AUR5004: Only one RetryInterceptor is allowed.
This error occurs when attempting to register more than one RetryInterceptor on the same HttpClient instance. The fetch client only supports a single retry interceptor to avoid conflicting retry logic.
// ❌ Wrong: Multiple retry interceptors
client.configure(config => {
return config
.withRetry(3)
.withRetry(5); // This will throw AUR5004
});
// ✅ Correct: Single retry interceptor
client.configure(config => {
return config.withRetry(3, 1000);
});Last updated
Was this helpful?
Was this helpful?