Jazmine Reyes
05/05/2026, 1:26 AMPermit SDK got unexpected status code: 502, please check your Permit SDK class init and PDP container are configured correctly.permit support automation2
05/05/2026, 1:26 AMAsk Inkeep
05/05/2026, 1:26 AMAsk Inkeep
05/05/2026, 1:26 AM/user-permissions endpoint specifically, the limit is 500 requests per minute . If you exceed this, you should receive a 429 response with this body :
{
"error": "rate_limited",
"message": "You have exceeded the rate limit. Please try again later."
}
Since you're getting 502 errors instead, this points to a different issue. For latency-sensitive deployments or high-volume workloads, deploying a local Edge PDP is recommended to minimize network latency and ensure high availability (3) .
To help investigate this issue, could you please provide:
1. Which Workspace / Project / Env you are using
2. What calls you are performing (as SDK code or CURL)
3. Which PDP version you are running
4. Relevant logs from your PDP
Additionally, if you're experiencing frequent 502 errors, you may want to consider deploying an Edge PDP as a sidecar or centralized service inside your own infrastructureAsk Inkeep
05/05/2026, 1:26 AMJazmine Reyes
05/05/2026, 1:29 AMdavid
05/05/2026, 6:43 AMdavid
05/05/2026, 7:48 AMJazmine Reyes
05/05/2026, 8:11 AMJazmine Reyes
05/05/2026, 8:58 AMOmer Zuarets
05/05/2026, 9:00 AMJazmine Reyes
05/05/2026, 9:01 AMdavid
05/11/2026, 1:26 PMJazmine Reyes
05/29/2026, 12:44 AMPermit SDK got unexpected status code: 502, please check your Permit SDK class init and PDP container are configured correctly. \nRead more about setting up the PDP at <https://docs.permit.io/sdk/python/quickstart-python/#2-setup-your-pdp-policy-decision-point-container>Or Weis
05/29/2026, 2:34 AMJazmine Reyes
05/29/2026, 3:12 AM2026-05-29 09:56:49.843
2026-05-29 09:57:10.537
2026-05-29 10:00:26.615Jazmine Reyes
05/29/2026, 4:19 AMdavid
05/31/2026, 8:57 AMJazmine Reyes
06/02/2026, 12:07 AM