"code":"P6003" Prisma example: accelerate-hacker-news
When I upvote on official example- I upvode a post- I got this error-
Error: Failed to invalidate Accelerate cache. Response was 400 Bad Request. {"code":"P6003","message":"There is a hold on your account. Reason: planLimitReached. Please contact Prisma support if you think this is an error."}
at async addVotes (addVotes.ts:21:3)
code link
https://github.com/prisma/prisma-examples/blob/latest/accelerate/accelerate-hacker-news/app/actions/addVotes.ts
Error on addVotes.ts:21:2 - at await -
my project is (for official support purpose)
console prisma io/
cm459dig001zinbfj9qemcgxv/
cm5xtjl4e00cv12ytnhrhmy22/
GitHub
prisma-examples/accelerate/accelerate-hacker-news/app/actions/addVo...
🚀 Ready-to-run Prisma example projects. Contribute to prisma/prisma-examples development by creating an account on GitHub.
4 Replies
You're in no rush, so we'll let a dev step in. Enjoy your coffee, or drop into
#ask-ai if you get antsy for a second opinion!Hi @ズバイル
The error code P6003 implies that you've reached the plan limit for your Prisma Accelerate account. This error is related to the cache invalidation rate limit, which is determined by your current plan. If you frequently need to invalidate your cache, consider upgrading to a paid plan. Different plans have different limits for cache invalidations. You can check the pricing page for more details on the available plans and their features.
Prisma
Pricing - Prisma Data Platform
Get started for free with Prisma. Choose the right plan for your workspace based on your project requirements.
Hi @RaphaelEtim, I new to the community and not sure if you can help. While testing the caching.invalidateAll() method (without enabling any caching configuration), I encountered the same error.
I’d like to clarify that I did not exceed the 5 requests per hour limit. This was just a basic test to observe the behavior of the method under the Starter Plan. Could you please help me understand why this error is occurring?
Hi @Helena Xu
I’m not best positioned to help with this currently. I’d suggest re-posting your question as a new message in the channel so it gets better visibility from others who might be able to assist.