Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Following below document
https://qlik.dev/apis/rest/items/
It clearly states for ascending and descending order we can use + and -
With - we are able to sort in descending order but with + we get bad request error
sort not working when using +name, or +updatedAt etc, but same with - works
Hi Divya,
To make it working you need to URL encode the "+", i.e. "%2B"
So, to apply an ascending sorting by the field "name", you need to call /api/v1/items?sort=%2Bname
We know it's not really user-friendly and will work on enhancing that.
Hi Divya,
To make it working you need to URL encode the "+", i.e. "%2B"
So, to apply an ascending sorting by the field "name", you need to call /api/v1/items?sort=%2Bname
We know it's not really user-friendly and will work on enhancing that.
Thank you for quick response, it works now.
Hi Divya,
Digging into this issue with the team, it appears that this issue happens with Postman, and even if the bug is closed now, some users still complain: https://github.com/postmanlabs/postman-app-support/issues/2517
If you use curl or another client, the "+" should work.
I am using python request module which was also giving me issue with +