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
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...