Summary
Developing a custom connector for Planning Center API using low-code interface, facing pagination issues. Question regarding dynamically adjusting rate limits based on response headers.
Question
Hello!
I’m using the low-code interface to develop a custom connector for <Planning Center API Documentation Center> and I am running into issues with pagination. In reading their documentation, I am wondering if the following conditions can be built within the low-code interface, or this would require a custom integration.
From the documentation
If you think your app may be affected by rate limits, it should be developed to adjust dynamically inspecting the values of
X-PCO-API-Request-Rate-Limit
andX-PCO-API-Request-Rate-Period
in the HTTP headers. Your current count is discoverable in theX-PCO-API-Request-Rate-Count
key. Requests that exceed the current limit will return an HTTP status 429. The number of seconds to wait until you can retry those requests is in the keyRetry-After
.
Response headers:"headers": { "Date": "Wed, 03 Apr 2024 15:56:23 GMT", "X-PCO-API-Auth-Method": "HTTPBasic", "X-PCO-API-Request-Rate-Count": "5", "X-PCO-API-Request-Rate-Limit": "100", "X-PCO-API-Request-Rate-Period": "20", "X-PCO-API-Processor": "ENG_6.3.0", "X-PCO-API-Processed-As-Version": "2019-10-18", "Vary": "Accept", "Cache-Control": "max-age=0, private, must-revalidate", "X-Runtime": "0.094593", "Strict-Transport-Security": "max-age=63072000; includeSubDomains" }```
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want to access the original thread.