
okiee leme try

according to the error message, the current logged in user doesn't have sufficient permissions

how are you signing in?

using google

interesting

give me a minute

another problem is that infinite no. of requests are also being made to my server @Arth

seems like you're using nextjs. don't do nay server side rendering, and don't use node-appwrite
in your client side code. See what happens then

what's the soln. then 😠@safwan

I just told you the solution...

ok then i will make it by using node-appwrite inside a appwrite function

for creating a document? seems a little overkill

@safwan yes i realized ðŸ˜

@safwan bro still the error comes after removing the node-appwrite

@safwan and @Arth the problem was not with the node-appwrite , I tried to use account.get()
that was the culprit

how come?

idk @Arth

@Arth @safwan I think this is the reason , I have a logged in the user using a different client constructor in a different jsx file , so when i tried to access it inside another jsx file using another instance of client constructor caused the error

@Arth that's why the access issue might have come , rn things make sense for me

ah yes

wait

what

which sdk are you using to sign and which sdk are you using to use documents service 😂

crazy man 😂

@Arth I didn't get it
Recommended threads
- 25 document limit
Unable to bypass the 25 document limit: https://github.com/Mooshieblob1/GenerateImagesPreview
- cant get custom domain to work with appw...
Hi, how do I get a custom domain to work? I have set database.vrtuhub.com on the appwrite console as a custom domain and did the cname record for it bit i still...
- [SOLVED] Consfusing Pricing
Why the pricing is showing me to 30 dollar while the original pricing which is 15 dollar per month,it is also including the add ons pricing,which i donot know w...
