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
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Need Help with Google OAuth2 in Expo usi...
I'm learning React Native with Expo and trying to set up Google OAuth2 with Appwrite. I couldn't find any good docs or tutorials for this and my own attempt did...