@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
- Invalid `region` param: Value must be on...
Hi! I'm trying to migrate a small project from the cloud to a self hosted instance to play around but without any success! I cannot initiate a migration witho...
- Locked out of account
Hey guys, I have a paid account and have been locked out. Apologies for using this method, but I'm getting no response via the contact us page. I had a old do...
- Migration from cloud to self-hosted fail...
Hi! I'm trying to migrate a small project from the cloud to a self hosted instance to play around but without any success! The migration process fails with the ...