Aarush AcharyaOriginal post
Rank 3: Container
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
Summary
Developers are experiencing an issue with deploying collection indexes in Appwrite. The problem is related to the indexes section in the appwrite.json file causing an internal server error. By making the indexes list empty, the issue was resolved. The provided indexes JSON structure from the project contains the necessary keys and attributes, so it's unsure why the error occurred.