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
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- mcp-server-appwrite 0.4 fails on startup...
I’m trying to use `mcp-server-appwrite` against Appwrite Cloud and the server authenticates successfully, but fails during startup validation when probing `tabl...
- open runtime version lacks behind
open runtime version in appwrite CLI is v4 while the hosted runtimes use v5, this mismatch does not permit to debug locally functions using recent runtimes (li...