Welcome to the Panopto Community

Please note: All new registrants to the Panopto Community Forum must be approved by a forum moderator or admin. As such, if you navigate to a feature that is members-only, you may receive an error page if your registration has not yet been approved. We apologize for any inconvenience and are approving new members as quickly as possible.

What do I need to do for this error: 429 API calls quota exceeded! maximum admitted 5 per Second

edited July 2022 in API

I am using the Panopto REST API. I made a number of calls to the REST API and sometimes randomly receive this error message: "429 API calls quota exceeded! maximum admitted 5 per Second" Do I need to throttle how many requests I send to the REST API by sleeping for some time after a few calls? Or do I need to do something else to get around this requests per second limit.

Thanks

Comments

  • Kevin BaumKevin Baum Panopto Employee

    Hi Brendan,

    We do rate-limit the calls to our API, with a maximum per second, minute, and hour displayed in the error message when you have an HTTP 429 response. As you mentioned, you can throttle the requests by sleeping for a period of time after a few calls, or by taking a small amount of time between each call.

    Please let me know if you have any other questions.

    Thanks,

    Kevin

  • Hi Kevin, thanks for your response. In a loop I repeatedly make these 3 calls to the SOAP API for UserManagement: getUserByKey(), createUser(), addMembersToInternalGroup(). Can you tell me what are the rate limits on SOAP calls per second, minute, and hour so I can set my delay. I currently have it set to 100 milli seconds after making the 3 SOAP calls I mentioned. I could in some use cases make 1000 to 2000 calls to each of the 3 SOAP methods. Thanks

  • Kevin BaumKevin Baum Panopto Employee

    Hi Brendan,

    The rates are limited to 5 calls per second, 100 calls per minute, and 5000 calls per hour at this time, though those are subject to change. The rate that was exceeded should always be listed in the error message returned.

    Thanks,

    Kevin

  • edited August 2022

    Thx Kevin. Does the panopto API (REST and SOAP) have any maintenance down time? I just want to make sure my app that uses these APIs is not impacted. Thx

  • Kevin BaumKevin Baum Panopto Employee

    Hi Brendan,

    We do occasionally have scheduled maintenance for major upgrades that affect our entire site, including the REST and SOAP APIs, but the APIs do not have any other separate downtime. Maintenance and upgrade downtime is announced ahead of time at https://trust.panopto.com.

    Please let me know if you have any other questions.

    Thanks,

    Kevin

Sign In or Register to comment.