<?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 CCW generate token credential issue. in Services Discussions</title>
    <link>https://community.cisco.com/t5/services-discussions/ccw-generate-token-credential-issue/m-p/4099884#M709</link>
    <description>&lt;P&gt;We are trying to use the CCW api; therefore we followed the following&amp;nbsp;&lt;A href="https://www.cisco.com/E-Learning/gbo-ccw/cdc_bulk/Cisco_Commerce_B2B_Implementation_Guides/Access_Authorization/Hello_Cisco_API/Hello_API_Setup_Packet_IG.pdf" target="_blank" rel="noopener"&gt;link&lt;/A&gt;&amp;nbsp;to first create a Hello World Application.&lt;/P&gt;&lt;P&gt;We are now trying to generate an api token following&amp;nbsp;&lt;A href="https://www.cisco.com/E-Learning/gbo-ccw/cdc_bulk/Cisco_Commerce_B2B_Implementation_Guides/Access_Authorization/Create_Token_API/CCW_API_Generate_Token_IG.pdf" target="_self"&gt;this link&lt;/A&gt;&amp;nbsp;; we are simply using postman to make the POST request as described in the document.&lt;/P&gt;&lt;P&gt;We are using the following url:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;https://cloudsso.cisco.com/as/token.oauth2&lt;/PRE&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;PRE&gt;client_id: the hello world application KEY value.
client_secret: the hello world application CLIENT SECRET value.
grant_type: password
username: the username of the account used to create the hello world application
password: the password of the account used to create the hello world application&lt;/PRE&gt;&lt;P&gt;unfortunately the api return the following response&lt;/P&gt;&lt;PRE&gt;{
    "error_description": "Invalid client or client credentials",
    "error": "invalid_client"
}&lt;/PRE&gt;&lt;P&gt;Could someone please help us troubleshoot this?&lt;/P&gt;&lt;P&gt;Thank you&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;&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>Tue, 09 Jun 2020 07:15:44 GMT</pubDate>
    <dc:creator>IntegrationIntegration81352</dc:creator>
    <dc:date>2020-06-09T07:15:44Z</dc:date>
    <item>
      <title>CCW generate token credential issue.</title>
      <link>https://community.cisco.com/t5/services-discussions/ccw-generate-token-credential-issue/m-p/4099884#M709</link>
      <description>&lt;P&gt;We are trying to use the CCW api; therefore we followed the following&amp;nbsp;&lt;A href="https://www.cisco.com/E-Learning/gbo-ccw/cdc_bulk/Cisco_Commerce_B2B_Implementation_Guides/Access_Authorization/Hello_Cisco_API/Hello_API_Setup_Packet_IG.pdf" target="_blank" rel="noopener"&gt;link&lt;/A&gt;&amp;nbsp;to first create a Hello World Application.&lt;/P&gt;&lt;P&gt;We are now trying to generate an api token following&amp;nbsp;&lt;A href="https://www.cisco.com/E-Learning/gbo-ccw/cdc_bulk/Cisco_Commerce_B2B_Implementation_Guides/Access_Authorization/Create_Token_API/CCW_API_Generate_Token_IG.pdf" target="_self"&gt;this link&lt;/A&gt;&amp;nbsp;; we are simply using postman to make the POST request as described in the document.&lt;/P&gt;&lt;P&gt;We are using the following url:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;https://cloudsso.cisco.com/as/token.oauth2&lt;/PRE&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;PRE&gt;client_id: the hello world application KEY value.
client_secret: the hello world application CLIENT SECRET value.
grant_type: password
username: the username of the account used to create the hello world application
password: the password of the account used to create the hello world application&lt;/PRE&gt;&lt;P&gt;unfortunately the api return the following response&lt;/P&gt;&lt;PRE&gt;{
    "error_description": "Invalid client or client credentials",
    "error": "invalid_client"
}&lt;/PRE&gt;&lt;P&gt;Could someone please help us troubleshoot this?&lt;/P&gt;&lt;P&gt;Thank you&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;&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>Tue, 09 Jun 2020 07:15:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/ccw-generate-token-credential-issue/m-p/4099884#M709</guid>
      <dc:creator>IntegrationIntegration81352</dc:creator>
      <dc:date>2020-06-09T07:15:44Z</dc:date>
    </item>
  </channel>
</rss>

