No response from gc telephony providers edges didpools dids list --varType ASSIGNED_AND_UNASSIGNED

Hello,

I am trying to get the dids by using GC (also known as CLI SDK Client) version 43.0.0 on a windows host. We are using Genesys Cloud Voice and the DID pools are ranges of single numbers.

Launching the request with the parameters sets in the title of this topic, doesn't return any answer.

When setting the logging, I can see :
INFO: 2022/07/25 16:27:48 Calling API with method: GET, URI: /api/v2/telephony/providers/edges/didpools/dids?varType=ASSIGNED_AND_UNASSIGNED&pageSize=25&pageNumber=1, data:

and later
WARNING: 2022/07/25 16:28:04 GET https://api.mypurecloud.de/api/v2/telephony/providers/edges/didpools/dids?varType=ASSIGNED_AND_UNASSIGNED&pageSize=25&pageNumber=1 request failed. Retry count: 2
WARNING: 2022/07/25 16:28:24 GET https://api.mypurecloud.de/api/v2/telephony/providers/edges/didpools/dids?varType=ASSIGNED_AND_UNASSIGNED&pageSize=25&pageNumber=1 request failed. Retry count: 3

The same API call from the developer tools is working fine.

Can you please tell me if you see something wrong in my request?

Thanks in advance,

Erik

Hi Erik,

It appears that the CLI is changing type to varType in the query params and that is causing the problem.
This is a bug in the CLI and we will patch it in a future release.

Hi Ronan,
Many thanks for the fast response.