Hit a weird issue with our EventBridge consumer. The endpoint throws 503s during deploys, and GC keeps retrying instead of dropping the event to the dead letter queue. The webhook config has retryPolicy set to exponential with maxRetries at 3, but I’m seeing 10+ attempts in the delivery logs. Is there a specific header or status range GC respects for immediate failure? My Lambda returns statusCode: 503 directly. The DLQ ARN is definitely attached. Feels like it’s ignoring the retry count.
Check your Lambda’s FunctionUrlConfig. If it’s using default settings, Genesys Cloud might be treating the 503 as a transient error. You’ll need to explicitly set InvokeMode: RESPONSE_STREAM or ensure your integration uses the correct https endpoint type in the webhook config. The SDK’s putIntegrationWebhook method has a retryPolicy object, but the backend behavior depends on the URL type.