Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Ericga
Contributor III
Contributor III

Qlik-CLI user filter returns error

when i run the command qlik user filter --limit 1000 i get the below error.  I am not sure what "IDENTITIES-00017" means, i am assuming Qlik Cloud is returning an invalid JSON for this request but i don't see what the issue is. Any ideas?

Also the --fields option does not seem to work on this command.  any comman delimited string i use it always returns just the id

Thanks

Error: {
"traceId": "0000000000000000e0f030f55abd28d2",
"errors": [
{
"code": "IDENTITIES-00017",
"detail": "invalid request body",
"title": "Bad Request"
}
]
}

1 Solution

Accepted Solutions
Daniel_Pilla
Employee
Employee

@Ericga  I would reach out to support to investigate, then. I cannot reproduce that on my end.

View solution in original post

5 Replies
Daniel_Pilla
Employee
Employee

Hi @Ericga ,

Are you on the most recent version of the Qlik-CLI? What filter are you trying to send? I just tried the following commands and all succeeded without issue:

  • qlik user filter --limit 5
  • qlik user filter --filter 'subject eq "QLIK-POC\\dpi"'
  • qlik user filter --filter 'subject eq "QLIK-POC\\dpi"' --fields name,email

Try adding --verbose to the end to see what URL and path it is directing the request to.

Cheers,

Ericga
Contributor III
Contributor III
Author

Hi Daniel,

i upgraded to V2.24.0 this morning, restarted powershell and receive the same error.

when i execute this command qlik user filter --limit 1000 --fields name,email --verbose i get the following details on the same id it's failing on:

POST https://mytenantname.us.qlikcloud.com/api/v1/users/actions/filter?fields=name%2Cemail&limit=100&next...
* Establishing connection to: mytenantname.us.qlikcloud.com:443
* Connection established (0ms)
> Host: mytenantname.us.qlikcloud.com
> User-Agent: qlik-cli/2.24.0 (windows)
> Transfer-Encoding: chunked
> Authorization: Bearer **omitted**
> Content-Type: application/json
> Referer: https://mytenantname.us.qlikcloud.com
> Accept-Encoding: gzip
< Cache-Control: no-store
< Connection: keep-alive
< Content-Length: 140
< Content-Type: application/json
< Date: Thu, 21 Dec 2023 18:26:36 GMT
< Pragma: no-cache
< Strict-Transport-Security: max-age=15724800; includeSubDomains
Response time: 100ms
Status: 400 Bad Request
Error: {
"traceId": "0000000000000000bc319311102d80d8",
"errors": [
{
"code": "IDENTITIES-00017",
"detail": "invalid request body","title": "Bad Request"
}
]
}

Daniel_Pilla
Employee
Employee

Does "qlik user me" work? I am curious if it is failing for you because it is a POST request. Are you going through a proxy by chance?

Ericga
Contributor III
Contributor III
Author

Yes, qlik user me works.  qlik user filter --limit 1000 --fields name,email works also up until a certain point.  it returns 90 records and always fails on the same id after that.  i don't think i am going through a proxy but i don't know that for certain.

Thanks

Daniel_Pilla
Employee
Employee

@Ericga  I would reach out to support to investigate, then. I cannot reproduce that on my end.