07-08-24 09:11 AM
Hi,
I have an API web service set up in Blue Prism. Out of 3 actions, 2 work without any problems.
The third one results in HTTP Status Code 200 and correct Response Headers but the Response Content is gibberish:
When I open the properties of Data Item, this is the view:
The expected response should look like this:
{"result":"success","deliveryEntry":"18516"}
Has anyone encountered such a problem? Any ideas what could cause this?
Regards,
Sabetin
07-08-24 04:48 PM
When a response is received that looks like the string in your screenshot with Unicode-looking characters, its usually either a binary response (i.e. an image or other binary data) or encrypted. Blue Prism doesn't handle that well as noted in this KB article here.
A few suggestions:
- Check the response results for this non-working call outside of Blue Prism, i.e. in PostMan or something similar to see if there's binary (or encrypted) data being returned
- Try using the latest version of the HTTP VBO on the DX for this, which contains more functionality than Web APIs for dealing with response content as shown in your screenshot
08-08-24 08:34 AM
Hi,
thanks for replying.
PostMan response is correct:
{"result":"success","deliveryEntry":"18516"}
I will try the VBO and get back to you.