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.