Currently appending this onto the end of th url. Using %22 for the " as otherwise Java does not like the " being apart of the url.
/documents?queries[]=orderAsc([%22levelNumber%22])
Resulting in a 500 error.
what's your project id?
Is this Appwrite cloud?
Sorry - This is self hosted. The project id is currently being sent by headers - here is my code to make it clearer.
I have tried doing con.setRequestProperty("queries","orderAsc('levelNumber')") which also hasn't worked
Do you have any relationship?
Are you sure that permissions are set correctly for the relationship and for the document you're getting?
You can check the docker logs of the appwrite container to see what the 500 error is for
I have no relationships - its a really simple project. everyone is granted permissions to CRUD. It's only a school project.
Good idea, will check that now.
It seems the issue stems from the " -
Oh right. There are extra double quotes
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...