Back

500 Error - with simplest query

  • 0
  • Databases
  • Web
  • Cloud
Berti
22 Feb, 2024, 11:50

Hi, I'm giving Appwrite a try and I get the following error: { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "0.12.96" } I just want to list Documents from a collection with: const response = await database.listDocuments( "%myProjectId)", "%myCollectionId%", [Query.equal("name", "test")], ); const categories = response.documents; console.log(categories)

If I delete the query it works perfectly fine. myProjectId: 65d7074d5cecf2e6ec1d

TL;DR
Developers encounter a 500 Server Error when using a query to list documents from a collection in Appwrite. The error message indicates a "general_unknown" issue. Deleting the query resolves the error. Ensure the query parameters are correctly formatted and check for any typos or syntax errors in the query itself.
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