- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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?
------------------------------
Lucas Passos
Developer | Controlroom
Hering
Blumenau
48996845408
------------------------------
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
------------------------------
Lucas Passos
Developer | Controlroom
Hering
Blumenau
48996845408
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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?
------------------------------
Athiban Mahamathi - https://www.linkedin.com/in/athiban-mahamathi-544a008b/
Technical Consultant,
SimplifyNext PTE LTD,
Singapore
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-02-24 01:24 PM
------------------------------
Lucas Passos
Developer | Controlroom
Hering
Blumenau
48996845408
------------------------------
