Back

AppwriteException: Document with the requested ID could not be found.

  • 1
  • Web
bharath
15 Apr, 2023, 09:39

i was getting this error when iam updating my document

TL;DR
The user is getting an "AppwriteException: Document with the requested ID could not be found" error when trying to update a document. They are using Zustand to handle state and have provided their GitHub repository for reference. They want to store username and email in one document ID and also store other inputs in separate fields. They are asking for help on how to resolve this issue. Solution: It appears that the error is related to the Appwrite backend service. The user should check if the document ID they are trying to update actually exists in the database. They can also try updating their repository and providing more context or code snippets to further
bharath
15 Apr, 2023, 11:12

@Mosh Ontong could you please help me

Mosh Ontong
15 Apr, 2023, 11:13

Yeah sure, what is the error can you provide me a further information about that.

bharath
15 Apr, 2023, 11:17

AppwriteException : Document with te requested ID could not be found

bharath
15 Apr, 2023, 11:17

This was my error

bharath
15 Apr, 2023, 11:17

I have used zustand to handle state

Mosh Ontong
15 Apr, 2023, 11:26

did you update your repo? If yes can you send it again here

bharath
15 Apr, 2023, 11:40

Nope

bharath
15 Apr, 2023, 11:40

I will

bharath
15 Apr, 2023, 11:41
bharath
15 Apr, 2023, 11:42

This is my repo I have not updated it yet

bharath
15 Apr, 2023, 11:42
  1. Username and email (signup.js)
  2. Filename (Uploadcomp.js) 3.Color,side (Select.js)
  3. Table values (Showprice.js) But this are the inputs I want to store in database under one document id
bharath
15 Apr, 2023, 11:43

This was my issue

Mosh Ontong
15 Apr, 2023, 12:32

Alright I will going to read your code and try in my side first

Mosh Ontong
15 Apr, 2023, 12:39

If I clicking any Select print type, it will trigger to create new document in appwrite? am i correct?

bharath
15 Apr, 2023, 12:45

Firstly in signup.js I want to store username and email

bharath
15 Apr, 2023, 12:45

Then select print type . Here updateDocumnet I think

bharath
15 Apr, 2023, 12:48
bharath
15 Apr, 2023, 12:49

I want to store this way

Mosh Ontong
15 Apr, 2023, 12:59
Mosh Ontong
15 Apr, 2023, 12:59

I need to sign up?

bharath
15 Apr, 2023, 12:59

Yes

Mosh Ontong
15 Apr, 2023, 13:00

I dont need to upload a file?

bharath
15 Apr, 2023, 13:00

This here username and email should be stored

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