Hey I was doing appwrite deploy collections but it gave me an internal server error on a collection named participants i figured the problem was in its "indexes" as making them empty list solved the problem this is the indexes list
"indexes": [
{
"key": "roomId",
"type": "key",
"status": "available",
"error": "",
"attributes": [
"roomId"
],
"orders": [
"ASC"
]
},
{
"key": "uid",
"type": "key",
"status": "available",
"error": "",
"attributes": [
"uid"
],
"orders": [
"ASC"
]
},
{
"key": "roomUser",
"type": "key",
"status": "available",
"error": "",
"attributes": [
"uid",
"roomId"
],
"orders": [
"ASC",
"ASC"
]
}
]
what am i doing wrong here and this was the indexes json created by pulling the collection of my project via appwrite init collections
What are the queries you're performing? And what errors are you getting?
I have a appwrite.json
and then i do appwrite deploy collection
Recommended threads
- Appwriter Linux Key Bindings
Any tips for configuring appwriter for ubuntu? Actually the keybindings are tightly binded to either windows or mac. Working well on windows but in ubuntu some ...
- Admin Impersonating Clients?
I have a client that needs to use the admin User, to impersonate the Clients in order to debug better the App and the services that they are providing, could yo...
- create project api-rest
Hello good afternoon, I'm developing a project where I need to create a project by apirest, but I'm stuck with this "projects.read" permission, can I change my ...