Hi, we’re getting some 500's from the API. Is ther...
# permit-saas
s
Hi, we’re getting some 500's from the API. Is there anything going on with the service?
a
Hi @Sebastian Lauwers, I'm an AI assistant for Permit.io. I'll analyze available sources and get back to you shortly.
I don't have information about the current status of the Permit.io service, so I can't confirm whether there is an ongoing incident. To help our engineers investigate the 500s, please share: 1. Which Workspace / Project / Environment 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 It would also help to know which endpoint is returning the 500s: the Permit REST API, or your PDP (Cloud PDP, Edge PDP, or Nexus PDP). One documented case can produce a 500 on the OPAL server.
GET /scopes/{scope_id}/policy
returns HTTP 500 with
{"error": "Uncaught server exception"}
when the requested scope is unknown or not yet synced. The OPAL client hits this route when it connects, so you may see 500s until the scope syncs. (1) If your 500s come from a different endpoint, the details above will let us narrow it down.
To learn more, see the sources I considered: [[1] GET /scopes/{scope_id}/policy returns 500 (uncaught ScopeNotFoundError) for an unknown or not-yet-synced scope](https://github.com/permitio/opal/issues/919)
o
Yes, we’re investigating
Always recommend checking the status page- as it updates automatically
s
I just checked it and it said 100% uptime.
o
image.png
s
Good luck with the outage!
🙏 2
z
It’s back up