Rally1

Expand all | Collapse all

Throttling on WSAPI POST Calls?

  • 1.  Throttling on WSAPI POST Calls?

    Posted 10-24-2019 10:44 AM
    Hello,

    Getting a sporadic "(405) Method Not Allowed" response from a Powershell script that is updating defects (Project, Defect Suite) in an automated fashion via POST calls to the API. Adding in a delay of 2 seconds in between calls resolves the issue for the set of defects I am currently working with. However, I want to be sure that I don't hit the problem again in the future. Is there throttling in place on the number of POST calls that can be made per second or minute, and how can I be sure to code around that to avoid the 405 responses?

    Thanks in advance!


  • 2.  RE: Throttling on WSAPI POST Calls?

    Posted 10-24-2019 11:06 AM
    Hi Mike,

    We do have some throttling in place, but my understanding is that it shouldn't be resulting in any 4xx+ response codes being passed.  It should just be queuing the requests up so they'll come back a little slower.  The limit is 24 in-flight requests at any time.  Do you know how many requests you might have been running concurrently when you encountered this response?