CLI Issues quality evaluations query list

Anyone else having issue with gc quality evaluations query list --conversationId "ID"

I get this error

{
"message": "Maximum number must be greater than or equal to 1",
"code": "bad.request",
"status": 400,
"contextId": "8dc13918-e596-4e4b-90e8-33ccd75f1200",
"details": [],
"errors": []
}

When I use the API with Powershell IT works

$WebRequestParams = @{
Uri = "https://api.usw2.pure.cloud/api/v2/quality/evaluations/query?conversationId=ID"
Method = "Get"
Headers = @{
"Authorization" = $Token
"Content-Type" = "application/json"
}
}
$Request = Invoke-WebRequest @WebRequestParams | ConvertFrom-Json
$Request.entities

Hi Pat,

Thats unusual. I will open a ticket with my team and investigate further.

Thanks,
John Carnell
Director, Developer Engagement

any updates on this?

Hi Pat,

It's still in our backlog. We are working through some higher priority issues and will get to it.

Thanks,
John Carnell

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Hello,

Apologize for the delay. This should now be solved in the latest CLI SDK 116.0.0.
The CLI client used to set 0 as a default value for integer parameter, when not specified as command parameter. It is now fixed.

Regards,