Back

AppwriteException: Collection with the requested ID could not be found.

  • 0
  • Databases
  • Web
  • Cloud
Awais Alwaisy
30 Jun, 2024, 13:55

Note: It's working on local but not in production / vercel on for this page

Hello, I am facing collection ID issue. I have done the similar way in my other pages, it worked. I don't whats wrong with this collection. I can't delete this collection and recreate it, I have 15 records in it with 2 days of effort. Please 🥺 tell me how can I fix. Thank you.

My stack

  • next 14
  • app write cloud
  • server actions to fetch data
TL;DR
Issue: Developer encountering "AppwriteException: Collection with the requested ID could not be found" only on Vercel production, not on local. Solution: The problem might be related to environment-specific configuration or deployment issues on Vercel. Check if the Collection ID is correctly configured in the environment variables for Vercel deployment. Double-check the set up of server actions, ensure they can fetch data correctly in the production environment.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more