
https://github.com/Prabhat-Chandela/mega-project-02.git
In the signup process when I am creating a document to store user profile It is giving the error appwrite exception: User not authorised to perform this action. The function that is giving error is called from the signup component and .create user profile() method I made is calling the create document from appwrite which is giving error
But the document is still being created on the appwrite cloud console I have checked But why is then the api response coming with this error .
Other things are working but why is creating this document is giving error
I have checked permissions I have given Role of any with all permissions to the collection

Possibly because you are using a new Client
instance for every service. Does it work if you use a single instance?

But that would be called only once

So you think I should try to make one client for all 3 services ??
Recommended threads
- CORS errors with storage bucket
I have a javascript file in the storage bucket and I used the view endpoint in an `src` attribute of a `<script>` tag. But I am getting the `net::ERR_BLOCKED_BY...
- Oauth2-Error 400Invalid `success` param:...
My code: > await new Account(client).createOAuth2Session(OAuthProvider.Google, 'https://www.mydomain.online/home', 'https://www.mydomain.online'); I ha...
- I don't know why i am getting this plan ...
I am getting this plan upgradation message while accessing the App write service to authorise and logiin and signUp new iuser fom my react website. in the porta...
