Issue with QueryString parameter in runNamedQuery

Hi, I am new with ignition and I have a issue when I call a Named query with a QueryString paramater, this is the query:

And when I test it works, but in the script when I make the call:

(shiftIdList value example: '1,2')

I receive the next error: com.inductiveautomation.ignition.client.gateway_interface.GatewayException: java.lang.Exception: Missing value for query parameter {shiftListId}

Can someone please explain me what I am doing wrong here.

In your Named Query you specify the parameter as shiftListId but when you define the param dictionary you specify shiftIdList.
Try param={"shiftListId": shiftIdList}


Hehe, wow thank you for noticing that detail.