Back

[SOLVED] After adding query I get an error 500

  • 0
  • Web
Hexi
25 Mar, 2024, 13:05

I am trying to add queries but every query I use I retreive an 500 error. Is there something I am doing wrong? (If I keep the array empty it just works like normal)

TL;DR
Developers experienced error 500 after adding a query. The solution is to ensure using `npm install appwrite@13.0.2` for client SDK and `npm install node-appwrite@11.1.1` for server SDK. The issue was resolved.
Kenny
25 Mar, 2024, 13:09

Are you using Appwrite Cloud? What version of the appwrite sdk are you using?

Hexi
25 Mar, 2024, 13:10

Selfhosted with V1.4.13 The SDK is ^12.0.0

And I am using package node-appwrite

Kenny
25 Mar, 2024, 13:14

Make sure you're using 13.0.2 if you're using the client sdk, you can do npm install appwrite@13.0.2 . And if you're using the server sdk use 11.1.1, you can do npm install node-appwrite@11.1.1

Hexi
25 Mar, 2024, 13:15

Oh 11.1.1 did work

Hexi
25 Mar, 2024, 13:15

Great

Kenny
25 Mar, 2024, 13:15

If you take a look at the top of the packages page on npm, in bold lettering, it says what version of appwrite they are for.

Kenny
25 Mar, 2024, 13:16

Was there anything else you needed help with? If not I'll mark this as solved.

Hexi
25 Mar, 2024, 13:16

No thanks!

Kenny
25 Mar, 2024, 13:16

[SOLVED] After adding query I get an error 500

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