Symptom
The ratelimit response header does not return the r (remaining) parameter for the spike-arrest policy; only t (time) is present. The tenant-quota and customized-spike-arrest policies return r correctly. Includes the exact response header examples from the curl logs.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
- SAP SuccessFactors HCM
- ODATA API
Cause
Spike-arrest enforces a per-second/millisecond pace (e.g., "60 req/min" = "1 req/sec"), which made computing a meaningful r value non-trivial. This was an omission in the initial implementation.
Resolution
- Return r parameter for spike-arrest with the same semantics as tenant-quota
- Enhance documentation with spike-arrest examples for smooth burst traffic
Workaround
Use the ratelimit-policy header's q and w values to calculate per-second rate and implement fixed-interval spacing.
Keywords
HTTP 429, Too Many Requests, spike-arrest , KBA , LOD-SF-INT-API , API & Adhoc API Framework , LOD-SF-INT , Integrations , LOD-SF-INT-ODATA , OData API Framework , Known Error
SAP Knowledge Base Article - Public