Hello, my dashboard says Pro plan limit exceeded, ...
# permit-saas
n
Hello, my dashboard says Pro plan limit exceeded, I have everything under pro plan limit. Sometimes my permit.check() are also failing. Please guide me what's going wrong, Or I'm missing something. Thanks.
a
Hi @Navanath Jadhav, I'm an AI assistant for Permit.io. I'll analyze available sources and get back to you shortly.
Based on the Pro plan limits, you can have up to 50,000 MAU and 20,000 tenants (1) . The quota is calculated based on unique identities (users or services) that your application authorizes monthly . When
permit.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:
Copy code
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:
Copy code
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) .
To learn more, see the sources I considered: [[1] Pricing Packages and SaaS Models | Permit.io](https://www.permit.io/pricing) [[2] Permit.check()](https://docs.permit.io/how-to/enforce-permissions/check) [[3] Running a demo](https://docs.permit.io/overview/connecting-your-app) [[4] Using the API](https://docs.permit.io/api/api-with-cli)
a
Hey @Navanath Jadhav , thanks for reaching out (: Which workspace you’re using?
n
WanAware : Development
o
In the PRO trial plan you have up to 100 MAU. Once your trial ends you will revert back to the community tier - in which you’d have 1000 MAU but other limits would apply - let us know if you’d like to shift to the community tier now
regarding failing checks, it’s probably unrelated. And we’d need more information - see what the AI agents asked for in order to help