@D5 I just double checked this and as I mentioned above, the permissions for "create, read, update, and delete) have been activated for role "any". My collection is called "Users" and I have also create a role for all users in "Users" and set it to the same CRUD permissions. Should this address the issue, and will I need to restart the appwrite docker container hosted in my digital ocean droplet for these changes to take place?
This is the current setting, yet I still get a database not found error @D5
Are you 100% sure the ID is correct?
In the code I don't see you have set endpoint, etc
I had not included it in the text, but my endpoint is set at the top of the file
The id is also correct, just double checked
are you referring to setting the endpoint when creating the client?
And others ID are correct? (Project ID, collection ID...)
Yes
yes the project id, collectionid, and database id are all correct
I am not sure if this matters, but this is my setEndpoint:
Client client = Client() .setEndpoint('https://appwrite.demo.edventures.ai/v1')
I am using v1
You have there . set project, true?
.setProject('64cc49f9606136aab887') .setSelfSigned(status: true)
What do you get in logs, after running this?
docker compose logs appwrite
Remove self-signed
It's not needed in your case because you have a valid certificate
Sorry for the late response, this was not loading on my phone π€¦ββοΈ
Are you using relationships?
no worries at all! I really appreciate your help!
If by relationships you mean associating the user role with something like a userId then yes. For every user, they have a role associated with them stored in the database collection as "entrepreneur" or "coach" and it is also tied to their UserId.
Nope, I mean associating an attribute to another attribute element in a different collection
We ended up fixing the issue, thanks @D5!
What was the solution?
Recommended threads
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Edit ID of an existing collection
Hi there. Is it possible to edit an ID of an existing collection? Right now it looks impossible from AppWrite cloud at least.