Salesforce API: 503/Quota Recovery
Recovering from Salesforce 503s and quota exhaustion without endless retries.
Steps
- Identify 'REQUEST_LIMIT_EXCEEDED' or 'SERVER_UNAVAILABLE' status codes.
- Execute 'Sforce-Limit-Info' header inspection to calculate remaining calls.
- Trigger 'Batch Consolidation' mode to reduce call frequency.
- Implement Jitter-based exponential backoff (Start: 2s, Max: 60s).
- Escalate to Human if quota remains <1% for more than 10 minutes.