here is the code
and here is the collection and attributes
As the error says, you need to create an index. See https://appwrite.io/docs/databases#indexes
so what I have to modify???
Did you read what I linked?
yes but the items are not rendering
What do you mean?
Don't use full text...
then???
did you figure it out?
yes but the items aren't loading
If the API call is successful, but you're getting 0 results back, either nothing matches your filter or you have a permissions problem
without filter its working perfectly
What's your code?
this is
Would you please log the user id before making the API call?
yes
and its printing
Would you please share the value and a screenshot of the document from the console (showing the same user id)?
wait I think I found the problem
Now its working fine
I just Make another useContext file and take the user id when I also fetching data of account for profile and pass it on the query.
Recommended threads
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...
- SyntaxError: Unexpected end of JSON inpu...
I am trying to create a fcm push notification service using appwrite functions with its REST API to invoke that function from my client side app and getting thi...