Rate Limit When Updating list of DNIS in an IVR

Hi All,

Good day!

I have got a small issue that I am struggling to get around.

I am trying to assign numbers to an IVR config using the the below, however, I am receiving a 429 rate limit response due to the amount of DNIS entries in the list. How do I go about doing this?

try:

ivr_id = '050c9525-1df5-4d77-9936-106c7c34962b' # str | Include IVR id

body = api_instance.get_architect_ivr(ivr_id)

body.dnis = ['+44xxxxxxxx','+44xxxxxxxx','+44xxxxxxxx','+44xxxxxxxx','+44xxxxxxxx','+44xxxxxxxx','+44xxxxxxxx'] **# example list, the real script has 3000 numbers**

try:

    api_response = api_instance.put_architect_ivr(ivr_id, body)

    pprint(api_response)        

except ApiException as e:

    print("Exception when calling PutArchitectIvrRequest->put_architect_ivr: %s\n" % e)

except ApiException as e:

print("Exception when calling GetArchitectIvrRequest->get_architect_ivr: %s\n" % e)

Thank you.

Kind Regards,
Chris Carr

Per PUT /api/v2/architect/ivrs/{ivrId}, there is a dids.per.callroute.max of 5000 (I'm assuming DID and DNIS are used interchangibly with this resource). Per your code, you're only setting 3000, which should fall well within the documented limit. Please open a case with Genesys Cloud Care to investigate why you're being limited at less than the documented limit.

Hi Tim,

Thank you. I have raised a case and will update this thread.

Kind Regards,
Chris Carr