kingymlK
Convex Community17mo ago
4 replies
kingyml

Error when using withIndex (Index not found)

I can't seem to get indexes to work at all. I keep getting an Index not found error. I have attached the error message, my schema and query.

I am able to get the query to work using filter but I want to take advantage of withIndex for perfomance. I even tried just a simple userId index and that didn't work either. Same error. Any idea what I could be doing wrong?
image.png
image.png
image.png
Was this page helpful?