Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
divya_vishwakarma
Contributor
Contributor

I am using Qlik rest API's to list all items using items endpoint, sort not working when using +name, or +updatedAt etc, but same with - works

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

 

divya_vishwakarma_0-1725440074941.png

 

Labels (2)
1 Solution

Accepted Solutions
CedLeb
Employee
Employee

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.

View solution in original post

3 Replies
CedLeb
Employee
Employee

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.

divya_vishwakarma
Contributor
Contributor
Author

Thank you for quick response, it works now.

CedLeb
Employee
Employee

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.