<?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 403 Forbidden on Support API in Services Discussions</title>
    <link>https://community.cisco.com/t5/services-discussions/403-forbidden-on-support-api/m-p/4179825#M767</link>
    <description>&lt;P&gt;I wrote an application to query the SN2Info API (&lt;A href="https://api.cisco.com/sn2info/v2/coverage/summary/serial_numbers/" target="_blank" rel="noopener"&gt;https://api.cisco.com/sn2info/v2/coverage/summary/serial_numbers/&lt;/A&gt;) using a seed file of serial numbers (a few thousand devices), queried in batches of 25.&lt;/P&gt;&lt;P&gt;The application was working great until it tried to query using an invalid serial number (either N/A or a serial number containing a space).&amp;nbsp;&amp;nbsp;Since then, I've been getting a 403 Forbidden response from the API.&lt;/P&gt;&lt;P&gt;I'm concerned my app or IP address has been blacklisted because it's been detected as an attack.&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the meantime, I've fixed the error correction code in my application.&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Nov 2020 08:54:31 GMT</pubDate>
    <dc:creator>GregJohnston21989</dc:creator>
    <dc:date>2020-11-06T08:54:31Z</dc:date>
    <item>
      <title>403 Forbidden on Support API</title>
      <link>https://community.cisco.com/t5/services-discussions/403-forbidden-on-support-api/m-p/4179825#M767</link>
      <description>&lt;P&gt;I wrote an application to query the SN2Info API (&lt;A href="https://api.cisco.com/sn2info/v2/coverage/summary/serial_numbers/" target="_blank" rel="noopener"&gt;https://api.cisco.com/sn2info/v2/coverage/summary/serial_numbers/&lt;/A&gt;) using a seed file of serial numbers (a few thousand devices), queried in batches of 25.&lt;/P&gt;&lt;P&gt;The application was working great until it tried to query using an invalid serial number (either N/A or a serial number containing a space).&amp;nbsp;&amp;nbsp;Since then, I've been getting a 403 Forbidden response from the API.&lt;/P&gt;&lt;P&gt;I'm concerned my app or IP address has been blacklisted because it's been detected as an attack.&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the meantime, I've fixed the error correction code in my application.&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 08:54:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/403-forbidden-on-support-api/m-p/4179825#M767</guid>
      <dc:creator>GregJohnston21989</dc:creator>
      <dc:date>2020-11-06T08:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: 403 Forbidden on Support API</title>
      <link>https://community.cisco.com/t5/services-discussions/403-forbidden-on-support-api/m-p/4179850#M768</link>
      <description>&lt;P&gt;FYI - I tried to register a new application (client id and client secret) and I get the same error code.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 08:56:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/403-forbidden-on-support-api/m-p/4179850#M768</guid>
      <dc:creator>GregJohnston21989</dc:creator>
      <dc:date>2020-11-06T08:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: 403 Forbidden on Support API</title>
      <link>https://community.cisco.com/t5/services-discussions/403-forbidden-on-support-api/m-p/4180255#M769</link>
      <description>&lt;P&gt;Immediate problem resolved (hooray!).&amp;nbsp; After a couple of hours, it started working again.&amp;nbsp; A couple of 500 internal server errors but within a hour I had all 8,000-odd serial numbers done.&amp;nbsp; These APIs are great!&amp;nbsp; Saves hours of manual effort!&lt;/P&gt;</description>
      <pubDate>Sat, 07 Nov 2020 07:19:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/403-forbidden-on-support-api/m-p/4180255#M769</guid>
      <dc:creator>GregJohnston21989</dc:creator>
      <dc:date>2020-11-07T07:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: 403 Forbidden on Support API</title>
      <link>https://community.cisco.com/t5/services-discussions/403-forbidden-on-support-api/m-p/4181931#M770</link>
      <description>&lt;P&gt;I'm still having problem accessing the Services API (e.g.&amp;nbsp;&lt;A href="https://apx.cisco.com/cs/api/v1/customer-info/customer-details)" target="_blank"&gt;https://apx.cisco.com/cs/api/v1/customer-info/customer-details)&lt;/A&gt;.&amp;nbsp; I have API Developer access but I'm wondering if I need additional access permissions in the SAMT tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of the Support APIs are working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In saying that, I found a few instances where the Production Information API appears appears to be returning incorrect information.&amp;nbsp; For example, the request:&lt;/P&gt;&lt;P&gt;"&lt;A href="https://api.cisco.com/product/v1/information/product_ids/WS-C3750X-24P-E,WS-C3750X-24P-S,WS-C3750X-24S-S,WS-C3750X-24T-S,WS-C3750X-48PF-S?page_index=1" target="_blank"&gt;https://api.cisco.com/product/v1/information/product_ids/WS-C3750X-24P-E,WS-C3750X-24P-S,WS-C3750X-24S-S,WS-C3750X-24T-S,WS-C3750X-48PF-S?page_index=1&lt;/A&gt;"&lt;/P&gt;&lt;P&gt;Returned two records for the WS-C3750X-24T-S:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; {&lt;BR /&gt;"id": "1",&lt;BR /&gt;"product_id": "WS-C3750X-24T-S",&lt;BR /&gt;"product_name": "Cisco ASA 5515-X Adaptive Security Appliance",&lt;BR /&gt;"product_type": "MULTIPROD",&lt;BR /&gt;"product_series": "Cisco ASA 5500-X Series Firewalls",&lt;BR /&gt;"product_category": "Security",&lt;BR /&gt;"product_subcategory": "SYSTEM",&lt;BR /&gt;"release_date": "2012-02-28",&lt;BR /&gt;"orderable_status": "O",&lt;BR /&gt;"dimensions": {&lt;BR /&gt;"dimensions_format": "Dimensions (H x W x D)",&lt;BR /&gt;"dimensions_value": "1.67 x 16.7 x 15.6 inches (4.24 x 42.9 x 39.5 cm)"&lt;BR /&gt;},&lt;BR /&gt;"weight": "13.39 lb (6.07 kg) with AC power supply",&lt;BR /&gt;"form_factor": "1 RU, 19-in. rack-mountable",&lt;BR /&gt;"product_support_page": "http://www.cisco.com/content/en/us/support/security/asa-5515-x-adaptive-security-appliance/model.html",&lt;BR /&gt;"visio_stencil_url": "http://www.cisco.com/content/dam/assets/prod/visio/visio/products_visio_icon0900aecd8050a7d7.zip",&lt;BR /&gt;"rich_media_urls": {&lt;BR /&gt;"small_image_url": "",&lt;BR /&gt;"large_image_url": "http://www.cisco.com/content/dam/en/us/products/vpndevc/ps6032/ps6094/ps6120/prod_large_photo0900aecd804dd800.jpg"&lt;BR /&gt;}&lt;BR /&gt;},&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; {&lt;BR /&gt;"id": "3",&lt;BR /&gt;"product_id": "WS-C3750X-24T-S",&lt;BR /&gt;"product_name": "Cisco Catalyst 3750X-24T-S Switch",&lt;BR /&gt;"product_type": "MULTIPROD",&lt;BR /&gt;"product_series": "Cisco Catalyst 3750-X Series Switches",&lt;BR /&gt;"product_category": "Switches",&lt;BR /&gt;"product_subcategory": "SYSTEM",&lt;BR /&gt;"release_date": "2010-03-15",&lt;BR /&gt;"orderable_status": "O",&lt;BR /&gt;"dimensions": {&lt;BR /&gt;"dimensions_format": "",&lt;BR /&gt;"dimensions_value": ""&lt;BR /&gt;},&lt;BR /&gt;"weight": "",&lt;BR /&gt;"form_factor": "",&lt;BR /&gt;"product_support_page": "http://www.cisco.com/content/en/us/support/switches/catalyst-3750x-24t-s-switch/model.html",&lt;BR /&gt;"visio_stencil_url": "",&lt;BR /&gt;"rich_media_urls": {&lt;BR /&gt;"small_image_url": "",&lt;BR /&gt;"large_image_url": "http://www.cisco.com/content/dam/en/us/products/switches/ps5718/ps10745/3750x-lg-photo.jpg"&lt;BR /&gt;}&lt;BR /&gt;},&lt;/PRE&gt;&lt;P&gt;Note: It's interesting that the "large_image_url" isn't the same image used on the product support page for the same device but that's just a cosmetic thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, despite a few minor issues, the APIs are &lt;STRONG&gt;very&lt;/STRONG&gt; welcome!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 02:53:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/403-forbidden-on-support-api/m-p/4181931#M770</guid>
      <dc:creator>GregJohnston21989</dc:creator>
      <dc:date>2020-11-11T02:53:50Z</dc:date>
    </item>
  </channel>
</rss>

