Error Data Actions $expand

Hi,

Good morning,

I am trying to replicate the GET of this webservices that I have running in postman to genesys, and I get this error, in postman the only thing that is added is in params:

key=$expand
value=OrderList,OrderList,DetailReturn

And everything works fine, but in genesys gives me this error, can you help me? Thank you very much
PS: The credentials are correct
GET
https://xxxxx:443/ivr_ux2/sap/zgrupo_ivr/default/sap/zgr_ivr/0001/PedidosPendSet(CODIGO_USUARIO='IVR7894512',INSTALACION='F109608000')?$expand=ListadoPedidos,DetalleRetorno

Error Data Actions

{
"message": "Substitution values invalid in action config. Variable $expand has not been set at UrlTemplate[line 1, column 147] A common reason for this error is needing to prepend the variable with 'input.' or 'credentials.'",
"code": "invalid.substitution",
"status": 400,
"messageParams": {},
"contextId": "28d6903d-d332-4ce3-b067-e0d1f1556b7d",
"details": [
{
"errorCode": "ACTION.PROCESSING"
}
],
"errors": []
}

Hello,

$ is a keyword (for velocity) so you need to escape it.
In your requestUrlTemplate, replace "$expand" with "${esc.dollar}expand".

Regards,

1 Like

It worked correctly Jerome, thank you very much

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