#Permission error in appwrite , look at the error below :
8 messages · Page 1 of 1 (latest)
Where?
Hey!
First of all, if you want to use Document Security, you should only enable the Create in the Users role. Otherwise it will have no effect.
Second, please state your actual issue. There's nothing we can do with a simple, yet alone cropped picture.
This is my appwriteConfig.js code:
import { Client, Account,Databases,Storage } from 'appwrite';
import conf from './Conf';
export const client = new Client();
client
.setEndpoint(conf.appwriteEndPOINT) // Your Appwrite endpoint
.setProject(conf.appwriteProjectID) // Replace with your project ID
// .setKey(conf.appwriteApiKeySecretID); // Replace with your API key
export const account = new Account(client);
export const database = new Databases(client);
export const storage = new Storage(client);
export { ID } from 'appwrite';
This is the code of auth.js 👇👇
Take a look of this actually the user created successfully , but because i'm sending the name and username to the database that's why i got this error