Unable to use POST action of Function for Utility - HTTP - 6.10.4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-07-22 02:34 PM
Hi Team,
While using the action POST from the newly updated utility Function for Utility - HTTP - 6.10.4
If we use more than one row in Post Data collection then only the first row is picked up while creating the body of the request.

Is anyone else also facing the same issue?
The final call ends up in the below error:

------------------------------
Manish Rawat
Project Manager
Mercer
New Delhi
------------------------------
While using the action POST from the newly updated utility Function for Utility - HTTP - 6.10.4
If we use more than one row in Post Data collection then only the first row is picked up while creating the body of the request.
Is anyone else also facing the same issue?
The final call ends up in the below error:
------------------------------
Manish Rawat
Project Manager
Mercer
New Delhi
------------------------------
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-07-22 01:48 PM
Hello @Manish Rawat,
After reviewing the Code stage within the Post action, it seems a single row of the input Collection is by design. What the action is doing is taking multiple column values, from the first and only row, URL encoding them, and then concatenating them together as Post body which are of the form:
Name1=Value1&Name2=Value2&Name3=Value3&....
You can read more about Post body parameters here.
Based on the response code, the request is making it to the server, the server accepts it, but then the server throws an internal error (code 500) while processing the data. So the question is, what does the server expect as far as the data is concerned? It looks like you're trying to retrieve an access token. Does the server expect the supplied data to be URL encoded?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
After reviewing the Code stage within the Post action, it seems a single row of the input Collection is by design. What the action is doing is taking multiple column values, from the first and only row, URL encoding them, and then concatenating them together as Post body which are of the form:
Name1=Value1&Name2=Value2&Name3=Value3&....
You can read more about Post body parameters here.
Based on the response code, the request is making it to the server, the server accepts it, but then the server throws an internal error (code 500) while processing the data. So the question is, what does the server expect as far as the data is concerned? It looks like you're trying to retrieve an access token. Does the server expect the supplied data to be URL encoded?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-07-22 06:46 AM
Hi @ewilson,
Thanks for your response.
I will try and check by creating a single row and passing the value.
As far as the supplied data is concerned the Server expects the above 4 fields mentioned in the collection with their respective value. The respective Postman curl request looks like this:

Also the URL encoding as per Content-Type is application/x-www-form-urlencoded
------------------------------
Manish Rawat
Project Manager
Mercer
New Delhi
------------------------------
Thanks for your response.
I will try and check by creating a single row and passing the value.
As far as the supplied data is concerned the Server expects the above 4 fields mentioned in the collection with their respective value. The respective Postman curl request looks like this:
Also the URL encoding as per Content-Type is application/x-www-form-urlencoded
------------------------------
Manish Rawat
Project Manager
Mercer
New Delhi
------------------------------
