Jonah
Hello! Im trying to create a blog, but some reason when i submit my form i get this error:
TypeScript
21:35:51 [ERROR] request to https://cloud.appwrite.io/v1/databases/65d6a65a44524b1a9ed7/collections/65d6a67723c7837bdb3b/documents failed, reason: socket hang up
Hint:
Browser APIs are not available on the server.
If the code is in a framework component, try to access these objects after rendering using lifecycle methods or use a `client:only` directive to make the component exclusively run on the client.
TL;DR
Issue: Developer encountering error message when trying to submit a form to create a blog.
Solution: The error message indicates that the code is trying to access Browser APIs on the server side, which is not allowed. Developers should ensure that Browser APIs are only accessed on the client side, such as using lifecycle methods or a `client:only` directive. Recommended threads
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Database not found when attempting to Li...
So, I am doing this in postman to eliminate any possible weirdness from my SDK, and still unable to hit any document level endpoint for my database. I am tryin...
- module 'appwrite.query' has no attribute...
In python im running this line: from appwrite import query database = Databases(client).list_documents(database_id= 'xxx', collection_id= 'xxx', queri...