
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
- Unable to Create Relation Attribute in A...
Hello, I’m running a self-hosted Appwrite v1.7.4 instance on my server. I want to create a relation attribute between two collections in the console, but the co...
- Having permission issues with imported s...
Hello, I have my self hosted project on a server, and i wanted to import the schema to my local machine dev instance so I used the json file from the server ...
- Bug Report: Dynamic API Keys Cannot Crea...
Reproduction Steps 1. Create an Appwrite function (note: not triggered by a user) 2. Initialize client with dynamic API key parsed from `x-appwrite-key` header...
