when i am testing my website everything is going good not errors but after deployment on only my Profile page i cannot get the value from the profile collection and also cannot update the value when i am doing that the error in the provided image is shown.
this is my appwrite setup code for update profile // update profile async updateProfile(id:string,{ name, email, ownerId, status, about, interest, }: CreateProfile) { try { return await this.databases.updateDocument( conf.appwriteDatabaseId, conf.appwriteProfileCollectionId, id, { name, email, ownerId, status, about, interest, } ); } catch (error) { console.error("appwrite service :: updateProfile :: ", error); // error thrown return false; } }
what to do i cannot figure out why it is. not showing any error on localhost why only on deployment
Recommended threads
- Function connected custom domain error: ...
My domain is served through Cloudflare. Domain is now connected with the appwrite function. But when accessing the domain, I get the below error. Any suggestion...
- Error | general_unknown
I have built a website using Appwrite Cloud as backend, and also using sites for deployment. My website is live but sometimes it shows Appwrite's Error general_...
- Invalid token passed in the request
Hello, I have an issue using updateMagicURLSession. I send the email using sendMagicLink, which works fine. When i click the link in the email i get the invali...