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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...