Navanath Jadhav
10/13/2025, 8:58 AMAsk Inkeep
10/13/2025, 8:58 AMAsk Inkeep
10/13/2025, 8:58 AMpermit.check() calls fail intermittently, this could be related to how you're passing user identities or tenant information. The check function requires three arguments: user, action, and resource (2) (3) . Here's the correct format:
const permitted = await permit.check("<mailto:john@permit.io|john@permit.io>", "create", "document") ;
(2)
If you're working with tenants, ensure you're passing the tenant correctly:
const permitted = await permit.check(
"<mailto:john@permit.io|john@permit.io>",
"read",
{
type: "document",
tenant: "awesome_inc"
}
) ;
(3)
To help our engineers investigate your 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
You can check your API logs in the Permit UI under Settings > API Log tab to see the exact API calls and responses, which can help debug why calls might be failing (4) .Ask Inkeep
10/13/2025, 8:58 AMAlon Boshi
10/13/2025, 9:01 AMNavanath Jadhav
10/13/2025, 9:02 AMOr Weis
10/13/2025, 9:10 AMOr Weis
10/13/2025, 9:11 AM