Back

Problem with using Query

  • 0
  • Databases
  • Cloud
mm1212
26 Apr, 2024, 18:46

can someone help to fix this, I copied the Document ID from the console but it still giving this error.

TL;DR
Developers need to use the `getDocument()` function instead of `fetch()` when fetching a document by ID. Further assistance available [here](https://appwrite.io/docs/references/1.5.x/client-web/databases#getDocument).
Steven
26 Apr, 2024, 18:47

if you're trying to fetch a document by id, you should use `getDocument()`

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more