Good day, Please I need assistance, I can't figure out how to use Query in my application. I have gone through the documentation, and the example provided did not work for me. I have also read where it was said that Query requires the fields to be indexed. when I use Query in my application, it throws a server error. I have attached the following screenshot 1. My package.json, 2. My code snippet, 3. My attributes(Tables) 4. The corresponding Indexes table.
TL;DR
Developers having trouble using QUERY in a Nextjs 14 app, encountering server errors even after ensuring fields are indexed. They've attached package.json, code snippet, attributes (Tables), and corresponding indexes.