<?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: Error While calling API using WebAPI functionality provided in System tab in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Error-While-calling-API-using-WebAPI-functionality-provided-in/m-p/77784#M29904</link>
    <description>Hi Manish,&lt;BR /&gt;&lt;BR /&gt;Based on the information that I am able to see, what you had in Curl does not appear to be an exact match as what you did in Blue Prism.&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;api&lt;SPAN style="background-color: #ffff00;"&gt;k&lt;/SPAN&gt;ey in Curl vs. api&lt;SPAN style="background-color: #ffff00;"&gt;K&lt;/SPAN&gt;ey in BP&lt;/LI&gt;
&lt;LI&gt;some body message in Curl vs. no body message at all in BP&lt;/LI&gt;
&lt;/UL&gt;
That being said, neither would have played a role in the failure of the HTTP call. Without API documentation, it is not possible to be specificc.&lt;BR /&gt;&lt;BR /&gt;The HTTP error code is 401, and the error message seems to suggest the key is not suitable for the purpose. But without seeing the full content of your call, it is difficult to comment on that.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bruce Liu&lt;BR /&gt;Senior Product Consultant, Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Australia/Sydney&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 07 Sep 2021 06:51:00 GMT</pubDate>
    <dc:creator>bruce.liu</dc:creator>
    <dc:date>2021-09-07T06:51:00Z</dc:date>
    <item>
      <title>Error While calling API using WebAPI functionality provided in System tab</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-While-calling-API-using-WebAPI-functionality-provided-in/m-p/77783#M29903</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I am trying to access the API, while using the WebAPI functionality for the same we are getting the below error:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28126.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28253iD4D0FFD03B90656C/image-size/large?v=v2&amp;amp;px=999" role="button" title="28126.png" alt="28126.png" /&gt;&lt;/span&gt;&lt;BR /&gt;We have checked the API key and the same is correct, also the call is working correctly with CURL.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;CURL Command Snippet:&lt;BR /&gt;curl --location --request GET "XXXXX" --header "apikey: XXXXX" --header "Content-Type: XXXXX" --data-raw "{"query":"","variables":{}}"&lt;BR /&gt;&lt;BR /&gt;WebAPI Wizard Snippet:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28127.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28257iF4D48CEA70D32EB5/image-size/large?v=v2&amp;amp;px=999" role="button" title="28127.png" alt="28127.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Manish Rawat&lt;BR /&gt;Project Manager&lt;BR /&gt;Mercer&lt;BR /&gt;New Delhi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Sep 2021 05:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-While-calling-API-using-WebAPI-functionality-provided-in/m-p/77783#M29903</guid>
      <dc:creator>ManishRaw</dc:creator>
      <dc:date>2021-09-07T05:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error While calling API using WebAPI functionality provided in System tab</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-While-calling-API-using-WebAPI-functionality-provided-in/m-p/77784#M29904</link>
      <description>Hi Manish,&lt;BR /&gt;&lt;BR /&gt;Based on the information that I am able to see, what you had in Curl does not appear to be an exact match as what you did in Blue Prism.&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;api&lt;SPAN style="background-color: #ffff00;"&gt;k&lt;/SPAN&gt;ey in Curl vs. api&lt;SPAN style="background-color: #ffff00;"&gt;K&lt;/SPAN&gt;ey in BP&lt;/LI&gt;
&lt;LI&gt;some body message in Curl vs. no body message at all in BP&lt;/LI&gt;
&lt;/UL&gt;
That being said, neither would have played a role in the failure of the HTTP call. Without API documentation, it is not possible to be specificc.&lt;BR /&gt;&lt;BR /&gt;The HTTP error code is 401, and the error message seems to suggest the key is not suitable for the purpose. But without seeing the full content of your call, it is difficult to comment on that.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Bruce Liu&lt;BR /&gt;Senior Product Consultant, Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;Australia/Sydney&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Sep 2021 06:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-While-calling-API-using-WebAPI-functionality-provided-in/m-p/77784#M29904</guid>
      <dc:creator>bruce.liu</dc:creator>
      <dc:date>2021-09-07T06:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error While calling API using WebAPI functionality provided in System tab</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-While-calling-API-using-WebAPI-functionality-provided-in/m-p/77785#M29905</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="d666ed23-eedd-4996-bd6b-3bed96e53a93" data-tag-text="@Manish Rawat" href="https://community.blueprism.com/network/profile?UserKey=d666ed23-eedd-4996-bd6b-3bed96e53a93" data-itemmentionkey="842330f5-a133-4e12-a925-e2585efde954"&gt;@Manish Rawat&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;A class="user-content-mention" data-sign="@" data-contactkey="0a9b5778-7ac7-4764-a9c9-822633ad2ffb" data-tag-text="@Bruce Liu" href="https://community.blueprism.com/people/bruce-liu1" data-itemmentionkey="a596e3b5-5796-4ade-ae41-7b8115980e64"&gt;@Bruce Liu&lt;/A&gt; has called out the main issues with what we can see. The one thing I would recommend is to make sure the API key value doesn't have any extra leading or trailing whitespace. That is a common error when people copy/paste an API key value.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Sep 2021 13:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-While-calling-API-using-WebAPI-functionality-provided-in/m-p/77785#M29905</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-09-07T13:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: Error While calling API using WebAPI functionality provided in System tab</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Error-While-calling-API-using-WebAPI-functionality-provided-in/m-p/77786#M29906</link>
      <description>Hi Bruce, Eric,&lt;BR /&gt;&lt;BR /&gt;Thanks for your response.&lt;BR /&gt;&lt;BR /&gt;Just found out the issue, the apikey was correct but the URL given missed an entry that's why the error &lt;STRONG&gt;Invalid ApiKey for given resource,&amp;nbsp;&lt;/STRONG&gt;was thrown instead of &lt;STRONG&gt;Invalid ApiKey.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Hope this will help others if they had the similar issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Manish Rawat&lt;BR /&gt;Project Manager&lt;BR /&gt;Mercer&lt;BR /&gt;New Delhi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2021 09:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Error-While-calling-API-using-WebAPI-functionality-provided-in/m-p/77786#M29906</guid>
      <dc:creator>ManishRaw</dc:creator>
      <dc:date>2021-09-08T09:31:00Z</dc:date>
    </item>
  </channel>
</rss>

