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
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...