https://github.com/anshulsoni2010/share-note
So, the purpose of this application is to share the text notes that are editable by the creator and can be shared with everyone. But, I don't why it's not pushing the updates on the database.
Please help me
whats the exact error?
sharenote-as.vercel.app
this is the live hosted link
okay so
when user will click to share publish it then it should send the content to the database but it's not sending it
there must be an exception thrown if something goes wrong. please provide the error message.
can you run it in your local, if you don't have any problem
@darShan
I am assuming your createDocument or updateDocument would be inside a try/catch block, log the error in catch block like -
try {
// update or create calls
} catch (error) {
console.log(error.message);
}
that should print the error if something's not right.
sure gonna add it
Recommended threads
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...