<?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: BOX API connection in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80132#M31901</link>
    <description>Hi Shashank, thank you so kindly for your advice! This has resolved initial issues &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chloe MacIntosh&lt;BR /&gt;Automation Developer&lt;BR /&gt;Zurich Insurance&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 25 Feb 2022 16:47:00 GMT</pubDate>
    <dc:creator>cvmac</dc:creator>
    <dc:date>2022-02-25T16:47:00Z</dc:date>
    <item>
      <title>BOX API connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80126#M31895</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am attempting to connect to BOX application via APIs however am getting this error:&lt;BR /&gt;Internal : Unexpected error Failed to get OAuth2.0 Access Token : "Unexpected character encountered while parsing value: &amp;lt;. Path '', line 2, position 1." ""&lt;BR /&gt;&lt;BR /&gt;Is anyone able to advise what may be wrong/how to resolve?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chloe MacIntosh&lt;BR /&gt;Automation Developer&lt;BR /&gt;Zurich Insurance&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Feb 2022 15:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80126#M31895</guid>
      <dc:creator>cvmac</dc:creator>
      <dc:date>2022-02-16T15:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: BOX API connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80127#M31896</link>
      <description>Hi @Chloe&amp;nbsp;MacIntosh,&lt;BR /&gt;&lt;BR /&gt;Its seems if the access token request is invalid, such as the redirect URL didn't match the one used during authorization, then the server needs to return an error response. Error responses are returned with an HTTP 400 status code , with error and error_description parameters.​&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please check the token request once there might be some parsing issue or mismatch in path.&lt;BR /&gt;&lt;BR /&gt;Check more on Box API on this reference.&amp;nbsp;&lt;BR /&gt;&lt;A href="https://developer.box.com/guides/tooling/postman/quick-start/make-api-call/" target="_blank" rel="noopener"&gt;https://developer.box.com/guides/tooling/postman/quick-start/make-api-call/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shikhar Mishra &lt;BR /&gt;RPA Lead&lt;BR /&gt;Infosys Pvt Ltd&lt;BR /&gt;Pune,India&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Feb 2022 16:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80127#M31896</guid>
      <dc:creator>Rambo27</dc:creator>
      <dc:date>2022-02-16T16:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: BOX API connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80128#M31897</link>
      <description>&lt;SPAN&gt;Hi @Chloe MacIntosh,&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I tried creating an Box App with Server Auth. Below are the configurations that worked for me to get the access token using POSTMAN.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28307.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28438iF3FFEB1C4CE7E025/image-size/large?v=v2&amp;amp;px=999" role="button" title="28307.png" alt="28307.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28308.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28434iAB62A7088B001989/image-size/large?v=v2&amp;amp;px=999" role="button" title="28308.png" alt="28308.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Reference: &lt;A href="https://developer.box.com/guides/authentication/client-credentials&amp;nbsp;" target="test_blank"&gt;https://developer.box.com/guides/authentication/client-credentials&amp;nbsp;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Feb 2022 10:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80128#M31897</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2022-02-17T10:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: BOX API connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80129#M31898</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="d91abc04-a26c-4b82-aef8-dc46bdeecdfb" data-tag-text="@Shikhar Mishra" href="https://community.blueprism.com/network/profile?UserKey=d91abc04-a26c-4b82-aef8-dc46bdeecdfb" data-itemmentionkey="a7fccc80-1dba-4f6c-9766-9c3110c7481e"&gt;@Shikhar Mishra&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for coming back to me. I am able to successfully retrieve Access Token using Postman, however when I have tried to set up in Blue Prism it is throwing the above error message, so I am unsure what has gone wrong as API set up for BOX in Blue Prism seems aligned to Postman inputs. Do you have any experience with this, or guidance you can offer please?&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28309.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28440i9436F88AF0085FEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="28309.png" alt="28309.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chloe MacIntosh&lt;BR /&gt;Automation Developer&lt;BR /&gt;Zurich Insurance&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Feb 2022 11:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80129#M31898</guid>
      <dc:creator>cvmac</dc:creator>
      <dc:date>2022-02-21T11:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: BOX API connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80130#M31899</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1537"&gt;@shashank.kumar280&lt;/a&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for coming back to me. I am able to successfully retrieve Access Token using Postman, however when I have tried to set up in Blue Prism it is throwing the above error message, so I am unsure what has gone wrong as API set up for BOX in Blue Prism seems aligned to Postman inputs. Do you have any experience with this, or guidance you can offer please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28310.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28442i63F54C1CA1B4167B/image-size/large?v=v2&amp;amp;px=999" role="button" title="28310.png" alt="28310.png" /&gt;&lt;/span&gt;Attached are some snips of the current API set up in Blue Prism, if this provides better insight.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chloe MacIntosh&lt;BR /&gt;Automation Developer&lt;BR /&gt;Zurich Insurance&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Feb 2022 11:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80130#M31899</guid>
      <dc:creator>cvmac</dc:creator>
      <dc:date>2022-02-21T11:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: BOX API connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80131#M31900</link>
      <description>&lt;A href="https://community.blueprism.com/network/profile?UserKey=14a84f79-4b9c-4a4d-a97b-78e01638d334" target="_blank" rel="noopener"&gt;Hi &lt;/A&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1090"&gt;@cvmac&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I think the issue here is that the fields "code" and "grant_type" aren't passed along to the Authorization URI when you set the BluePrism authentication type to OAuth 2.0. The default behavior is to send only the the client_id and client_secret.&amp;nbsp; Also the Authorization URI is different in your BluePrism configuration. However it doesn't matter in this case as it wouldn't work anyways.&lt;BR /&gt;&lt;BR /&gt;I suggest that you set the Authentication to None and Use the "Request Access Token" action (you have already created it) in your Web API to get the access token. Set the Body Template as&amp;nbsp;&lt;BR /&gt;code=&lt;PRE&gt;&amp;amp;grant_type=[grant_type]&amp;amp;client_id=[client_id]&amp;amp;client_secret=[client_secret]&lt;BR /&gt;​&lt;BR /&gt;Make sure you have set the Header for this action &lt;BR /&gt;Content-Type&amp;nbsp; &amp;nbsp; &amp;nbsp; application/x-www-form-urlencoded&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Feb 2022 11:45:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80131#M31900</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2022-02-21T11:45:00Z</dc:date>
    </item>
    <item>
      <title>RE: BOX API connection</title>
      <link>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80132#M31901</link>
      <description>Hi Shashank, thank you so kindly for your advice! This has resolved initial issues &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Chloe MacIntosh&lt;BR /&gt;Automation Developer&lt;BR /&gt;Zurich Insurance&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 25 Feb 2022 16:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/BOX-API-connection/m-p/80132#M31901</guid>
      <dc:creator>cvmac</dc:creator>
      <dc:date>2022-02-25T16:47:00Z</dc:date>
    </item>
  </channel>
</rss>

