<?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: Software Suggestion API V2 Rejecting Valid PIDs in Report an API Bug</title>
    <link>https://community.cisco.com/t5/report-an-api-bug/software-suggestion-api-v2-rejecting-valid-pids/m-p/5285211#M47</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1845515"&gt;@V-EZHILNILAVAN&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the&amp;nbsp;&lt;STRONG&gt;Possible Causes:&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV class="p-2 rounded"&gt;
&lt;OL class="ml-6 list-decimal"&gt;
&lt;LI&gt;
&lt;P class="my-4"&gt;&lt;STRONG&gt;API Data Lag/Inconsistency:&lt;/STRONG&gt; The Software Suggestion API might not have the most up-to-date PID information. The SNCheck tool and the API could be drawing from different databases with varying refresh rates. This is a common problem with large, complex systems.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="my-4"&gt;&lt;STRONG&gt;PID Format Sensitivity:&lt;/STRONG&gt; The API might be extremely sensitive to the exact PID format. Even slight variations (e.g., spaces, capitalization, special characters) could cause it to reject the PID.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="my-4"&gt;&lt;STRONG&gt;API Scope Limitations:&lt;/STRONG&gt; The Software Suggestion API V2 might not support &lt;EM&gt;all&lt;/EM&gt; Cisco products. It's possible that certain device types (like voice gateways or older Catalyst switches) are excluded from the API's scope, even if they are valid Cisco products.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="my-4"&gt;&lt;STRONG&gt;API Bugs:&lt;/STRONG&gt; It's always possible there's a bug in the API itself.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="my-4"&gt;&lt;STRONG&gt;Entitlement/Access Issues:&lt;/STRONG&gt; Although less likely given that &lt;EM&gt;some&lt;/EM&gt; PIDs work, there could be an entitlement issue associated with your API key or account that prevents access to information for certain product families.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Kindly acknowledge and let me know if you need troubleshooting steps to fix this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr; border-width: 100%;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 6.5in;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 6.5in;"&gt;
&lt;P style="margin: 0in; line-height: 18pt; font-family: CiscoSans; font-size: 12.0pt; color: #1b1c1d;"&gt;&lt;SPAN&gt;Hope This Helps!!!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; line-height: 18pt; font-family: CiscoSans; font-size: 12.0pt; color: #1b1c1d;"&gt;&lt;SPAN&gt;AshSe&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; line-height: 18pt; font-family: CiscoSans; font-size: 12.0pt; color: #1b1c1d;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; line-height: 18pt; font-size: 11.0pt;"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;Community Etiquette&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: italic;" type="1"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; font-style: italic;" value="1"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;Insert photos/images inline - don't attach.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: bold; font-style: italic;" type="1"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; font-weight: bold; font-style: italic;" value="2"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;Always mark helpful and correct answers, it helps others find what they need.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: italic;" type="1"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; font-style: italic;" value="3"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;For a prompt reply, kindly tag @name. An email will be automatically sent to the member.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 25 Apr 2025 10:02:51 GMT</pubDate>
    <dc:creator>AshSe</dc:creator>
    <dc:date>2025-04-25T10:02:51Z</dc:date>
    <item>
      <title>Software Suggestion API V2 Rejecting Valid PIDs</title>
      <link>https://community.cisco.com/t5/report-an-api-bug/software-suggestion-api-v2-rejecting-valid-pids/m-p/5278286#M46</link>
      <description>&lt;P class=""&gt;Hello Cisco DevNet Team,&lt;/P&gt;&lt;P class=""&gt;I am encountering an issue with the Cisco Software Suggestion API V2 when retrieving recommended software versions for certain devices.&lt;/P&gt;&lt;P class=""&gt;I obtain the Product ID (PID) by entering a device’s serial number into the Cisco SNCheck Tool, which correctly returns a valid PID. However, when I pass these PIDs into the Software Suggestion API V2, I receive the following error response:&lt;/P&gt;&lt;P class=""&gt;{&lt;BR /&gt;"errorDetailsResponse": {&lt;BR /&gt;"errorCode": "S3_INV_BASEPID",&lt;BR /&gt;"errorDescription": "Please enter valid basePID",&lt;BR /&gt;"suggestedAction": "Supply Valid basePID",&lt;BR /&gt;"inputIdentifier": ""&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P class=""&gt;This issue occurs inconsistently—some PIDs are accepted, while others fail, even though they are valid and recognized by other Cisco tools.&lt;/P&gt;&lt;P class=""&gt;Affected API Endpoint:&lt;BR /&gt;POST /software/suggestion/v2/suggestions/pid&lt;/P&gt;&lt;P class=""&gt;Request Body Example:&lt;BR /&gt;{&lt;BR /&gt;"pidList": ["WS-C4510R+E"]&lt;BR /&gt;}&lt;/P&gt;&lt;P class=""&gt;Response Received:&lt;BR /&gt;{&lt;BR /&gt;"errorDetailsResponse": {&lt;BR /&gt;"errorCode": "S3_INV_BASEPID",&lt;BR /&gt;"errorDescription": "Please enter valid basePID"&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P class=""&gt;Examples of Failing PIDs:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;VG310 (VG350-144FXS/K9) – Voice Gateway&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;WS-C4510R+E – Catalyst Switch&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;Attachments:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Screenshot of a valid API response for a different PID&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Screenshot of an invalid response for one of the failing PIDs&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Request for Assistance:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Can you confirm why some valid PIDs are rejected by Software Suggestion API V2 while others work fine?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Are there known limitations for certain device types like voice gateways or catalyst switches?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Is there an updated list of supported PIDs for this API version?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;This issue is affecting automation workflows that rely on retrieving software recommendations. Please advise on how to resolve this.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 09:46:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/report-an-api-bug/software-suggestion-api-v2-rejecting-valid-pids/m-p/5278286#M46</guid>
      <dc:creator>V-EZHILNILAVAN</dc:creator>
      <dc:date>2025-04-04T09:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Software Suggestion API V2 Rejecting Valid PIDs</title>
      <link>https://community.cisco.com/t5/report-an-api-bug/software-suggestion-api-v2-rejecting-valid-pids/m-p/5285211#M47</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1845515"&gt;@V-EZHILNILAVAN&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the&amp;nbsp;&lt;STRONG&gt;Possible Causes:&lt;/STRONG&gt;&lt;/P&gt;
&lt;DIV class="p-2 rounded"&gt;
&lt;OL class="ml-6 list-decimal"&gt;
&lt;LI&gt;
&lt;P class="my-4"&gt;&lt;STRONG&gt;API Data Lag/Inconsistency:&lt;/STRONG&gt; The Software Suggestion API might not have the most up-to-date PID information. The SNCheck tool and the API could be drawing from different databases with varying refresh rates. This is a common problem with large, complex systems.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="my-4"&gt;&lt;STRONG&gt;PID Format Sensitivity:&lt;/STRONG&gt; The API might be extremely sensitive to the exact PID format. Even slight variations (e.g., spaces, capitalization, special characters) could cause it to reject the PID.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="my-4"&gt;&lt;STRONG&gt;API Scope Limitations:&lt;/STRONG&gt; The Software Suggestion API V2 might not support &lt;EM&gt;all&lt;/EM&gt; Cisco products. It's possible that certain device types (like voice gateways or older Catalyst switches) are excluded from the API's scope, even if they are valid Cisco products.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="my-4"&gt;&lt;STRONG&gt;API Bugs:&lt;/STRONG&gt; It's always possible there's a bug in the API itself.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P class="my-4"&gt;&lt;STRONG&gt;Entitlement/Access Issues:&lt;/STRONG&gt; Although less likely given that &lt;EM&gt;some&lt;/EM&gt; PIDs work, there could be an entitlement issue associated with your API key or account that prevents access to information for certain product families.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Kindly acknowledge and let me know if you need troubleshooting steps to fix this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV style="direction: ltr; border-width: 100%;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 6.5in;"&gt;
&lt;DIV style="direction: ltr; margin-top: 0in; margin-left: 0in; width: 6.5in;"&gt;
&lt;P style="margin: 0in; line-height: 18pt; font-family: CiscoSans; font-size: 12.0pt; color: #1b1c1d;"&gt;&lt;SPAN&gt;Hope This Helps!!!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; line-height: 18pt; font-family: CiscoSans; font-size: 12.0pt; color: #1b1c1d;"&gt;&lt;SPAN&gt;AshSe&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; line-height: 18pt; font-family: CiscoSans; font-size: 12.0pt; color: #1b1c1d;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; line-height: 18pt; font-size: 11.0pt;"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;Community Etiquette&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: italic;" type="1"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; font-style: italic;" value="1"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;Insert photos/images inline - don't attach.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: bold; font-style: italic;" type="1"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; font-weight: bold; font-style: italic;" value="2"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;Always mark helpful and correct answers, it helps others find what they need.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;OL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: italic;" type="1"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; font-style: italic;" value="3"&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;For a prompt reply, kindly tag @name. An email will be automatically sent to the member.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 25 Apr 2025 10:02:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/report-an-api-bug/software-suggestion-api-v2-rejecting-valid-pids/m-p/5285211#M47</guid>
      <dc:creator>AshSe</dc:creator>
      <dc:date>2025-04-25T10:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Software Suggestion API V2 Rejecting Valid PIDs</title>
      <link>https://community.cisco.com/t5/report-an-api-bug/software-suggestion-api-v2-rejecting-valid-pids/m-p/5286205#M48</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1845515"&gt;@V-EZHILNILAVAN&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The + symbol is used to represent a space symbol in querystrings. The server is hence decoding this as "&lt;SPAN&gt;WS-C4510R E".&amp;nbsp;&lt;/SPAN&gt;Replace it with&amp;nbsp;&lt;SPAN&gt;%2B which represents the + symbol and it should work fine. You can use modules like urlencode in python to handle this automatically.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 13:10:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/report-an-api-bug/software-suggestion-api-v2-rejecting-valid-pids/m-p/5286205#M48</guid>
      <dc:creator>Torbjørn</dc:creator>
      <dc:date>2025-04-29T13:10:27Z</dc:date>
    </item>
  </channel>
</rss>

