Error constructing REST Message/Method: my_scope.my_rest/POST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-25-2020 10:20 PM
Hi,
While calling outbound rest message from Async business rule i am getting the below error
"Error constructing REST Message/Method: my_scope.my_rest/POST"
I have crosschecked many times the correct name of rest message and method , I have gone through articles related to this error but still couldn't find the solution. Can anyone please help me on this ASAP.
Note: I am working in scoped application
"Also the HTTP Method name passed from script matches with the actual Function name.
Function call is as below,
SCOPE = 'my_scope'
REST Message= 'my_rest'
FUNCTION NAME = 'POST'
and my function call is,
var msg = new sn_ws.RESTMessageV2('my_scope.my_rest', 'POST');"
I have used same code that I get when I do a Preview script usage.
Also I'm using mid server and when I check in ecc queue, the request is not sent.
But, When I hit test under Post, I get 201 response and the request is sent to ecc queue as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-25-2020 11:39 PM
Hi Kavyashree,
Can you please post the code in your Async BR. This would be helpful in resolving quickly.
Thanks & Regards,
Rupam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-27-2020 06:12 AM
Hi Kavyashree,
Did you manage to fix it? What was the issue?
Kindly share.
Thanks & Regards,
Rupam