function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RichardRichard 

Invoking Rate Limiting

I'm developing with the SOAPAPI and am wanting to invoke the rate limiting by adding the header: RateLimitAdd and giving it a value (as suggested in the docs) of 80000.

If I am taking the example code and modifying it to invoke the rate limiting - where does the header need to be set and how?

My first approach was to modify the HeaderStruct class to include rateLimitAdd as a new field and setting it with a value in the same way that the session id is set. this had no effect.

Any pointers?
DevAngelDevAngel

Hi Richard,

You need to add RateLimitAdd: 80000 to the HTTP header not the SOAP header.