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
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- How to successfully migrate from 1.9.0 t...
I've tried the automatic tool for migration but my Appwrite (self-hosted) went to a broken state. My functions wouldn't deploy anymore, some things just didn't ...
- How to disable appwrite/embedding from s...
Hi everyone! I'm currently running a self-hosted instance of Appwrite. For my current use case, I don't need the AI/embedding features, and I noticed the `app...