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
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...