<?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: Automated Software Distribution API  - Error LOGIN_REQD in Services Discussions</title>
    <link>https://community.cisco.com/t5/services-discussions/automated-software-distribution-api-error-login-reqd/m-p/3676366#M320</link>
    <description>&lt;P&gt;As discussed in our direct message exchange, the download method of ASD will not work with the client credentials grant type - you must use implicit, auth code, or resource owner.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Keith&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jul 2018 16:00:18 GMT</pubDate>
    <dc:creator>kcolberg</dc:creator>
    <dc:date>2018-07-27T16:00:18Z</dc:date>
    <item>
      <title>Automated Software Distribution API  - Error LOGIN_REQD</title>
      <link>https://community.cisco.com/t5/services-discussions/automated-software-distribution-api-error-login-reqd/m-p/3588493#M293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;I'm trying to use the &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 14px; font-weight: bold;"&gt;Automated Software Distribution API&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 14px;"&gt;, but I'm having issues with it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;SPAN style="color: #333333; font-size: 14px; background-color: rgba(245, 245, 245, 0.4); font-family: 'CiscoSansTT Light', 'Helvetica Neue', Arial;"&gt;1. I get the auth token&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;SPAN style="color: #333333; font-size: 14px; background-color: rgba(245, 245, 245, 0.4); font-family: 'CiscoSansTT Light', 'Helvetica Neue', Arial;"&gt;2. get the pid, mdf_id, metada_id and image gui. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;SPAN style="color: #333333; font-size: 14px;"&gt;&lt;SPAN style="font-family: 'CiscoSansTT Light', 'Helvetica Neue', Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;I do the following curl:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;SPAN style="color: #333333; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="m_-4934076754767754141gmail-code-toolbar m_-4934076754767754141gmail-language-none m_-4934076754767754141gmail-line-numbers" style="font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; margin-top: 0.5em; padding: 1em 1em 1em 3.8em; background: #f5f2f0; color: black;"&gt;&lt;CODE class="m_-4934076754767754141gmail-language-none" style="font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; background: none;"&gt;curl -X GET \ &lt;A data-saferedirecturl="https://www.google.com/url?q=https://api.cisco.com/software/v3.0/downloads/pid/WS-C3750X-12S-S/mdf_id/283831707/metadata_trans_id/133643088/image_guids/CF6BD507336853BC90037B7408BED14DB9B98856&amp;amp;source=gmail&amp;amp;ust=1531929359035000&amp;amp;usg=AFQjCNGb_R_mpZXA-x3cjcHwwl2kK_jxRQ" href="https://api.cisco.com/software/v3.0/downloads/pid/WS-C3750X-12S-S/mdf_id/283831707/metadata_trans_id/133643088/image_guids/CF6BD507336853BC90037B7408BED14DB9B98856" style="color: #1155cc;" target="_blank"&gt;https://api.cisco.com/software/v3.0/downloads/pid/WS-C3750X-12S-S/mdf_id/283831707/metadata_trans_id/133643088/image_guids/CF6BD507336853BC90037B7408BED14DB9B98856&lt;/A&gt; \ -H 'Authorization: Bearer {{TOKEN}}' \ -H 'Cache-Control: no-cache' \ -H 'Postman-Token: {{POSTMAN-TOKEN}}'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;SPAN style="color: #333333; font-size: 14px;"&gt;And I get the following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: small;"&gt;&lt;SPAN style="color: #333333; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="m_-4934076754767754141gmail-code-toolbar m_-4934076754767754141gmail-language-none m_-4934076754767754141gmail-line-numbers" style="font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; margin-top: 0.5em; padding: 1em 1em 1em 3.8em; background: #f5f2f0; color: black;"&gt;&lt;CODE class="m_-4934076754767754141gmail-language-none" style="font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; background: none;"&gt;{ "download_info_list": [ { "download_url": null, "image_guid": "CF6BD507336853BC90037B7408BED14DB9B98856", "image_full_name": "c3750e-ipbasek9npe-tar.150-2.SE11.tar", "asd_download_url_exception": [ { "exception_code": "LOGIN_REQD", "exception_message": "To Download this software, you must Log In with your Cisco.com user ID." } ], "token": null, "cloud_url": null } ], "download_session_id": "63389224", "download_retry_id": "55455041", "asd_service_response_exception": null, "asd_download_acceptance_exception": [], "service_status": "success" } &lt;SPAN class="m_-4934076754767754141gmail-line-numbers-rows" style="border-right-style: solid; border-right-color: #999999;"&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14px;"&gt;I would appreciate if I get some light on this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 16:33:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/automated-software-distribution-api-error-login-reqd/m-p/3588493#M293</guid>
      <dc:creator>amb1s1</dc:creator>
      <dc:date>2018-07-17T16:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Software Distribution API  - Error LOGIN_REQD</title>
      <link>https://community.cisco.com/t5/services-discussions/automated-software-distribution-api-error-login-reqd/m-p/3676366#M320</link>
      <description>&lt;P&gt;As discussed in our direct message exchange, the download method of ASD will not work with the client credentials grant type - you must use implicit, auth code, or resource owner.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Keith&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jul 2018 16:00:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/automated-software-distribution-api-error-login-reqd/m-p/3676366#M320</guid>
      <dc:creator>kcolberg</dc:creator>
      <dc:date>2018-07-27T16:00:18Z</dc:date>
    </item>
  </channel>
</rss>

