Back

[SOLVED] Document not found error

  • 0
  • Flutter
RASHIDTE
1 Apr, 2023, 01:32

Document not found error, Document id is user id

TL;DR
User is experiencing a "Document not found" error. - User initially had a delay, resulting in a null problem. - User later discovers that the issue is due to instability with Appwrite, which is not suitable for production. - User is advised to start up the debugger and reproduce the problem. - User mentions that their app is already published. - User is provided with a link for Flutter's network devtools. - User is asked if they are using Visual Studio Code. - User is advised to use the network logger to inspect headers and URL of the request. - User is advised to check the request headers before the list documents API
Drake
1 Apr, 2023, 01:34

What are the settings on the collection? What are the permissions on the document?

RASHIDTE
1 Apr, 2023, 01:37

Users Allow read, write, update, delete. First time no problem second time login to access document problem 😢

Drake
1 Apr, 2023, 01:38

Could you share a screenshot of the collection settings from the console?

RASHIDTE
1 Apr, 2023, 01:41
Drake
1 Apr, 2023, 01:42

So before your list documents, can you call account.get()?

Drake
1 Apr, 2023, 01:42

Either that, or enable the network logger and look at the request headers for the list documents API call

RASHIDTE
1 Apr, 2023, 01:47

databases.getDocument(database ID , collection ID, document ID: loggedInUser$.id.) used

Drake
1 Apr, 2023, 01:54

Please use the network logger to inspect the network headers and URL of the request

RASHIDTE
1 Apr, 2023, 01:58

Example, any reference

Drake
1 Apr, 2023, 01:58

Are you using visual studio code?

RASHIDTE
1 Apr, 2023, 01:58

Yes

RASHIDTE
1 Apr, 2023, 01:59

Already published app 😢

Drake
1 Apr, 2023, 02:02

Start up your debugger again and try to reproduce the problem....

RASHIDTE
1 Apr, 2023, 04:54

Not solved Appwrite not stable 😢 totally problem, not suited for production. My app already published😭😭

RASHIDTE
1 Apr, 2023, 06:25

Sorry, Solved

Drake
1 Apr, 2023, 06:46

What was the problem?

RASHIDTE
1 Apr, 2023, 06:59

User id getting delay, So null is problem

Drake
1 Apr, 2023, 14:46

[SOLVED] Document not found error

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