Rank 2: Process
okiee leme try
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
okiee leme try
Rank 2: Process
according to the error message, the current logged in user doesn't have sufficient permissions
Rank 2: Process
how are you signing in?
Rank 2: Process
using google
Rank 2: Process
interesting
Rank 2: Process
give me a minute
Rank 2: Process
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
Rank 2: Process
what's the soln. then 😠@safwan
I just told you the solution...
Rank 2: Process
ok then i will make it by using node-appwrite inside a appwrite function
for creating a document? seems a little overkill
Rank 2: Process
@safwan yes i realized ðŸ˜
Rank 2: Process
@safwan bro still the error comes after removing the node-appwrite
Rank 2: Process
@safwan and @Arth the problem was not with the node-appwrite , I tried to use account.get() that was the culprit
Rank 2: Process
how come?
Rank 2: Process
idk @Arth
Rank 2: Process
@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
Rank 2: Process
@Arth that's why the access issue might have come , rn things make sense for me
Rank 2: Process
ah yes
Rank 2: Process
wait
Rank 2: Process
what
Rank 2: Process
which sdk are you using to sign and which sdk are you using to use documents service 😂
Rank 2: Process
crazy man 😂
Rank 2: Process
@Arth I didn't get it