16-06-22 09:04 AM
I'm having some trouble getting a GET Action with body to work in BluePrism (using web api service).
It seems that when I try to include an Action that sends a GET with body when I reach that stage this error gets thrown:
Internal : Unexpected error Cannot send a content-body with this verb-type.
What I've tried:
I haven't been able to find anyone that made it work in BluePrism and there doesn't seem to be much documentation on this issue so any help would be appreciated.
Thanks!
16-06-22 09:40 AM
16-06-22 09:49 AM
Hi Shashank,
the endpoint isnt a part of any public-facing service, this is the relevant snippet from the documentation:
The HTTP Request should then be a GET with the Content-Type: application/json header and a json object as the body.
It's unclear why the endpoint was set up this way, but it seems we need to make it work with this format.
Thank you for the help
16-06-22 11:02 AM
16-06-22 11:09 AM
Yes, I'm able (using Postman) to call the endpoint using the way described in the documentation.
If I try to call the endpoint using POST I recieve this response:
{
"timestamp": "2022-06-16T10:07:52.452+00:00",
"status": 405,
"error": "Method Not Allowed",
"path": "/api/bot/getRerun"
}
My question is: is there any way to configure BluePrism in order to make GET calls with a body possible?
16-06-22 11:23 AM
16-06-22 11:49 AM
I get the same error:
24-06-22 01:37 AM
12-06-23 03:07 PM
Hello Marco D'Incà
Were you able to resolve this? We are running into the same and tried all possible scenarios with the API call.
14-06-23 09:31 AM
Update - Setting Force Pre Authorization input para to True resolved this error for us. FYI