Temporarily blocked because of too many requests

We have an app in the PD marketplace and one of our clients is getting this error any time we try to make a call to the API with their oauth token. Does anyone know what this error means or how to get rid of it?

Hi @plbeatty
Welcome to the community :wave: ! From the description, it seems like the APIs have hit the rate limit. Can you share the details on how many API calls were made in a minute/hour? If possible do share the error response along with the headers.

This is the output, it does say its due to rate limiting but the rate limit headers are not set, any idea why that would be?

opening connection to api-proxy.pipedrive.com:443...
opened
starting SSL for api-proxy.pipedrive.com:443...
SSL established
<- "GET /users/me HTTP/1.1\r\nAccept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3\r\nAccept: */*\r\nUser-Agent: Ruby\r\nAuthorization: Bearer XXXXXXX:XXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXX\r\nConnection: close\r\nHost: api-proxy.pipedrive.com\r\n\r\n"
-> "HTTP/1.1 429 Too Many Requests\r\n"
-> "Date: Tue, 01 Mar 2022 22:15:20 GMT\r\n"
-> "Content-Type: application/json\r\n"
-> "Transfer-Encoding: chunked\r\n"
-> "Connection: close\r\n"
-> "CF-Ray: 6e55402e7e7382f6-IAD\r\n"
-> "Cache-Control: no-cache\r\n"
-> "Strict-Transport-Security: max-age=31536000; includeSubDomains\r\n"
-> "CF-Cache-Status: DYNAMIC\r\n"
-> "Access-Control-Expose-Headers: X-RateLimit-Remaining, X-RateLimit-Limit, X-RateLimit-Reset\r\n"
-> "badi: Routing: us-east-1=>us-east-1; Version: 0181; Host: bari;\r\n"
-> "Expect-CT: max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"\r\n"
-> "X-Content-Type-Options: nosniff\r\n"
-> "x-correlation-id: 8c6f9db1-7cfe-4e13-9130-b293af80a192\r\n"
-> "X-XSS-Protection: 1; mode=block\r\n"
-> "Set-Cookie: __cf_bm=iDIL4Zf3ABX2eoOB6rKJXwX3alvUPxKY3fQQxjWEiIM-1646172920-0-AWBNwuYg3dDcislKjolX+IBQh+RtCfVcWYtRqUt/8l9UGiT5h+3r+rhYH4G/TQPf70D269asUxqBub7BmCa00No=; path=/; expires=Tue, 01-Mar-22 22:45:20 GMT; domain=.pipedrive.com; HttpOnly; Secure; SameSite=None\r\n"
-> "Vary: Accept-Encoding\r\n"
-> "Server: cloudflare\r\n"
-> "alt-svc: h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400\r\n"
-> "\r\n"
-> "91\r\n"
reading 145 bytes...
-> "{\"success\":false,\"error\":\"temporarily blocked because of too many requests\",\"errorCode\":429,\"error_info\":\"Please check developers.pipedrive.com\"}"
read 145 bytes
reading 2 bytes...
-> "\r\n"
read 2 bytes
-> "0\r\n"
-> "\r\n"
Conn close