Back

Server returns 500 on applying query

  • 0
  • Databases
  • Web
  • Cloud
Sanchit Bajaj
3 Mar, 2024, 15:57

I am creating likes functionality for my application. I have created a likes document which contains 2 relationships: user and posts. My approach is to get all the documents from likes collection which matches my input userId. But on making the call, I am getting 500 error. Image is attached for my code as well as the output screenshot.

TL;DR
Developers are receiving a 500 error when trying to query the likes collection for a specific userId in their application. They have attached their code and output screenshot.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more