
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
- API Endpoint to Verify Password.
I have 2 use cases where i need to verify a users password outside of login, e.g. Updating user account data (such as name, or prefs, or data in a users databa...
- search collection by document ID
How to filter or search collection for a document using document ID, I can't find this item on the filter menu
- Database Migration/Sync Between Two Proj...
Overall The migration failed mainly due to conflicts with existing data (documents, attributes, collections, etc.), exceeding attribute limits, and unsupported ...
