<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: x-www-form-urlencoded API request problem in Brasil</title>
    <link>https://community.blueprism.com/t5/Brasil/x-www-form-urlencoded-API-request-problem/m-p/122041#M235</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/9233"&gt;@gu.toledo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please try the below approach using Utility HTTP&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_0-1754832818978.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41352iD9DEDFB1347BE9C0/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_0-1754832818978.png" alt="faheemsd_0-1754832818978.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Headers: Create the collection , add row&amp;nbsp; and add the API Key&lt;BR /&gt;API Token Example: Basic AA62387645hfhbfgybuy775956&lt;/P&gt;&lt;P&gt;Check the output response and status as 200&amp;nbsp;&lt;BR /&gt;After the Request:&lt;/P&gt;&lt;P&gt;If StatusCode = 200, parse the JSON response for access_token.&lt;/P&gt;&lt;P&gt;If StatusCode = 500, it usually means one of the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Malformed headers&lt;/LI&gt;&lt;LI&gt;Missing or incorrect credentials&lt;/LI&gt;&lt;LI&gt;Incorrect body format&lt;/LI&gt;&lt;LI&gt;The endpoint is not expecting a Basic auth or can't process the request format&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Sun, 10 Aug 2025 13:45:41 GMT</pubDate>
    <dc:creator>faheemsd</dc:creator>
    <dc:date>2025-08-10T13:45:41Z</dc:date>
    <item>
      <title>x-www-form-urlencoded API request problem</title>
      <link>https://community.blueprism.com/t5/Brasil/x-www-form-urlencoded-API-request-problem/m-p/122021#M234</link>
      <description>&lt;P&gt;Hi, everyone! I need help setting up an API request in Blue Prism.&lt;BR /&gt;&lt;BR /&gt;Due to LGPD laws I can't fully disclosure all the parameters, but I'm gonna show them as variables here. I have a post request with the following endpoint:&lt;/P&gt;&lt;P&gt;[base_url]/api/oauth/token&lt;BR /&gt;&lt;BR /&gt;There are no parameters needed to the request. The headers that I used are 'Content-Type = application/x-www-form-urlencoded' and 'Accept = */*'. The authentication must be set to basic, in which I created a credential in the credentials vault of Blue Prism and I'm passing them through the Common Authentication area of the Web API. The body has the type 'x-www-form-urlencoded' and a pair of key values 'grant_type=client_credentials'. Images attached to show the configuration.&lt;BR /&gt;&lt;BR /&gt;However, everytime I try to run the request from a process, I get the error:&lt;/P&gt;&lt;P&gt;HTTP Status Code: 500&lt;BR /&gt;HTTP Response Content: &amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&amp;lt;H2&amp;gt;Internal Server Error&amp;lt;/H2&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Can someone show me what I'm doing wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gutoledo_3-1754658398658.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41342i28DC93996243C562/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="gutoledo_3-1754658398658.png" alt="gutoledo_3-1754658398658.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gutoledo_4-1754658451205.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41343i37D39575EE15160E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="gutoledo_4-1754658451205.png" alt="gutoledo_4-1754658451205.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gutoledo_5-1754658508922.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41344iD1EF8E0EDF999364/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="gutoledo_5-1754658508922.png" alt="gutoledo_5-1754658508922.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gutoledo_6-1754658566801.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41345i146A00DDA0CE3C0C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="gutoledo_6-1754658566801.png" alt="gutoledo_6-1754658566801.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gutoledo_7-1754658598719.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41346i0D728B6EDF0A8286/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="gutoledo_7-1754658598719.png" alt="gutoledo_7-1754658598719.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 13:12:09 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Brasil/x-www-form-urlencoded-API-request-problem/m-p/122021#M234</guid>
      <dc:creator>gu.toledo</dc:creator>
      <dc:date>2025-08-08T13:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: x-www-form-urlencoded API request problem</title>
      <link>https://community.blueprism.com/t5/Brasil/x-www-form-urlencoded-API-request-problem/m-p/122041#M235</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/9233"&gt;@gu.toledo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please try the below approach using Utility HTTP&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="faheemsd_0-1754832818978.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/41352iD9DEDFB1347BE9C0/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="faheemsd_0-1754832818978.png" alt="faheemsd_0-1754832818978.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Headers: Create the collection , add row&amp;nbsp; and add the API Key&lt;BR /&gt;API Token Example: Basic AA62387645hfhbfgybuy775956&lt;/P&gt;&lt;P&gt;Check the output response and status as 200&amp;nbsp;&lt;BR /&gt;After the Request:&lt;/P&gt;&lt;P&gt;If StatusCode = 200, parse the JSON response for access_token.&lt;/P&gt;&lt;P&gt;If StatusCode = 500, it usually means one of the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Malformed headers&lt;/LI&gt;&lt;LI&gt;Missing or incorrect credentials&lt;/LI&gt;&lt;LI&gt;Incorrect body format&lt;/LI&gt;&lt;LI&gt;The endpoint is not expecting a Basic auth or can't process the request format&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sun, 10 Aug 2025 13:45:41 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Brasil/x-www-form-urlencoded-API-request-problem/m-p/122041#M235</guid>
      <dc:creator>faheemsd</dc:creator>
      <dc:date>2025-08-10T13:45:41Z</dc:date>
    </item>
  </channel>
</rss>

