AUR5007

Error Message

AUR5007: An interval less than or equal to 1 second is not allowed when using the exponential retry strategy. Received: {{interval}}

Description

This error occurs when configuring exponential retry with an interval that is too small (≤ 1000ms). Exponential retry strategies require a minimum base interval to prevent overwhelming the server.

Solution

// ❌ Wrong: Interval too small
client.configure(config => {
  return config.withRetry(3, 500, 'exponential'); // 500ms too small
});

// ✅ Correct: Use minimum 1001ms interval
client.configure(config => {
  return config.withRetry(3, 2000, 'exponential');
});

Last updated

Was this helpful?