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
- Helping in unblock my account
I deleted my Appwrite Cloud account that was linked via GitHub. Now I activated my GitHub Student Pack and want to sign up again using the same GitHub account, ...
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...
- Finding job
Hi. I am a full-stack developer with experience in developing scalable and user-friendly web applications. I handle both front-end and back-end development, im...