22-02-24 02:32 PM
Hey developers, what's up?
I'm trying to use the HTTP object in the latest version to send an API request using the Post method with bearer Token.
In Postman the request works; however, in the blueprism environment, the error is being returned to me in the attachment.
I attached the settings I'm using, and also the Headers collection where I believe the problem is.
Can you help me?
Answered! Go to Answer.
22-02-24 04:49 PM
Hi,
A screenshot of your Postman configuration would be helpful to debug the issue. Can you try without sending the Headers collection in BluePrism configuration.
22-02-24 04:49 PM
Hi,
A screenshot of your Postman configuration would be helpful to debug the issue. Can you try without sending the Headers collection in BluePrism configuration.
22-02-24 07:50 PM
Here is the configuration that is working in POSTMAN. I tried to use the native service for the API, instead of the HTTP Object, but I also have a generic API error.
I left my token hidden for security reasons.
26-02-24 04:33 AM
Hello Lucas,
Does the "content-type" header field have a value filled in or is it null? Try assigning a value to the field if it is null.
Regards,
------------------------------
Leonardo Soares
RPA Developer
América/Brazil
------------------------------
26-02-24 01:46 PM
Hi Lucas,
As per the postman screenshot, I can see that the content-type is "application/json". can you please try "Post JSON" action from HTTP-Utility?
27-02-24 01:24 PM