I'm seeing that error randomly in my appwrite main container logs
Full error:
TypeScript
appwrite | [Error] Message: Document with the requested ID could not be found.
appwrite | [Error] File: /usr/src/code/app/controllers/api/databases.php
appwrite | [Error] Line: 3161
appwrite |
appwrite | Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /usr/src/code/app/controllers/api/account.php on line 1241
TL;DR
Error message "Deprecated: json_decode(): Passing null to parameter #1 ($json)" seen randomly in appwrite main container logs. Error is related to a null `user` parameter. Check for any issues with auth/authentication operations. Solution: Investigate source code for null `user` parameter.any auth / oauth operations?
as per current source, there's an attempt to get a user param but its apparently null.
Hmmm could be
Recommended threads
- Getting error when trying to add domain ...
we use self hosted appwrite on my company and every single time ever I tried to add a domain it shows this error on the top rigth: "Cannot read properties of un...
- Using OTP Email to verify user for passw...
Has anyone ever implemented this? If you did what was your aproach? Did you write an appwrite function?
- Transaction and Session
I've been debugging for hours a problem that now I think it's because It's not allowed: In my project a user log in using the `node-appwrite` SDK (SSR) I store...