kike | 2022-08-03 08:18:40 UTC | #1
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/ivrux2/sap/zgrupoivr/default/sap/zgrivr/0001/PedidosPendSet(CODIGOUSUARIO='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": [] }
Jerome.Saint-Marc | 2022-08-03 10:37:07 UTC | #2
Hello,
$ is a keyword (for velocity) so you need to escape it. In your requestUrlTemplate, replace "$expand" with "${esc.dollar}expand".
Regards,
kike | 2022-08-03 12:25:24 UTC | #4
It worked correctly Jerome, thank you very much
system | 2022-09-03 12:25:27 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 15768