TypeError: os.type is not a function at new _Client (node-appwrite.js?v=050b1c09:2391:57)
- 1
- Web

im getting this error when trying to configure node sdk

what version?


latest is 13.0.0, you are using Cloud, right? also, could you link the docs that mention 11.1.1?


I’m using this

Is there something I’m missing?

I have a few queries though: Ive just started my project and thought of using BaaS. I picked the Web sdk Something i wanted to do is list all documents of a collection without the user being logged in, but the roles of the collection require “all users” the “read” permission.
I tried using the “any” in the permissions but on running the query for listing the documents I’m getting error 401 unauthorised, I implemented an api key in it but got the type.os error. Does the user still need to have a session ?
Then I thought of switching to a node sdk with an api key but this same error again.
Recommended threads
- Appwrite Cloud Custom Domains Issue
I’m trying to configure my custom domain appwrite.qnarweb.com (CNAME pointing to fra.cloud.appwrite.io with Cloudflare proxy disabled) but encountering a TLS ce...
- Appwrite Fra Cloud Custom Domains Issue
I’m trying to configure my custom domain appwrite.qnarweb.com (CNAME pointing to fra.cloud.appwrite.io with Cloudflare proxy disabled) but encountering a TLS ce...
- Appwrite service :: getCurrentUser :: Us...
Getting this error while creating a react app can someone please help me solve the error
