On my development local host everything works as expected but when I deploy onto the web (using vercel) every appwrite api crashes and I get the above error. I am using react /next.js
Anyone who has experienced a similar problem or knows how to solve it?
Have you created a platform in the console for the new vercel domain?
You can either do a wildcard like *.vercel.app
or a concise one like myapp.vercel.app
. You can add a platform in the console by going into your project, and clicking Add Platform.
Recommended threads
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...