Hello,
I am trying to send request to Rest host added with private key but faced below error while using restoperaiton.createrequest()
2023-02-21 16:11:25.035 +02:00INFO__item_stack:/item3
2023-02-21 16:11:25.048 +02:00INFORequest: DynamicWrapper (Instance) : [RESTRequest]-[class com.vmware.o11n.plugin.rest.Request] -- VALUE : com.vmware.o11n.plugin.rest.Request@912fe11
2023-02-21 16:11:25.196 +02:00INFO__item_stack:/item1
2023-02-21 16:11:25.205 +02:00ERRORWorkflow execution stack:
***
item: 'GWRestOperationWF/item1', state: 'failed', business state: 'null', exception: 'Cannot execute the request: ; Received fatal alert: decode_error (Workflow:GWRestOperationWF / Scripting (item3)#39)'
workflow: 'TibcoAPIGWRestOperationWF' (2af438e3-f2a2-45a9-a173-0f1aed295759)
| 'attribute': name=errorCode type=string value=Cannot execute the request: ; Received fatal alert: decode_error (Workflow:TibcoAPIGWRestOperationWF / Scripting (item3)#39)
| 'attribute': name=restOperation type=REST:RESTOperation value=dunes://service.dunes.ch/CustomSDKObject?id='dd2beefb-afa6-4991-94e9-228aa0f540b1:f0a1be85-dd6f-4e07-9abb-3f0ea05f5fa3'&dunesName='REST:RESTOperation'
| 'attribute': name=statusCodeAttribute type=number value=
| 'attribute': name=hostResource type=ResourceElement value=dunes://service.dunes.ch/ResourceElement?id='null'&dunesName='ResourceElement'
| 'input': name=content type=string value=
| 'output': name=statusCode type=number value=null
| 'output': name=contentLength type=number value=null
| 'output': name=headers type=Properties value=null
| 'output': name=contentAsString type=string value=null
*** End of execution stack.
BR,
Omar