<?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 Error while creating a chatbot in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/4909326#M2389</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I am following this link to create a simple chatbot :&amp;nbsp;&lt;A href="https://developer.webex.com/blog/from-zero-to-webex-teams-chatbot-in-15-minutes" target="_blank" rel="noopener"&gt;https://developer.webex.com/blog/from-zero-to-webex-teams-chatbot-in-15-minutes&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;While executing, seeing this error:&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;omkarparanjape@OPARANJA-M-2P6X webex-bot-starter % npm start&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;gt; Webex-Bot-Starter@1.0.0 start&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;gt; npm install &amp;amp;&amp;amp; node --use_strict index.js&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;up to date, audited 1294 packages in 2s&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;63 packages are looking for funding&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;run `npm fund` for details&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;60&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; vulnerabilities (47 &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;moderate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, 12 &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;high&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, 1 &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;critical&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;To address issues that do not require attention, run:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;npm audit fix&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;To address all issues (including breaking changes), run:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;npm audit fix --force&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Run `npm audit` for details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Starting framework, please wait...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;/Users/omkarparanjape/Desktop/webex-bot-starter/webex-bot-starter/node_modules/@webex/webex-core/dist/lib/credentials/credentials.js:381&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;return _promise.default.reject(new Error('Current state cannot produce an access token'));&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;^&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Error: Current state cannot produce an access token&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;at &lt;/SPAN&gt;&lt;SPAN class="s5"&gt;/Users/omkarparanjape/Desktop/webex-bot-starter/webex-bot-starter/&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;node_modules/&lt;/SPAN&gt;&lt;SPAN class="s6"&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/923065"&gt;@webex&lt;/a&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;/webex-core/dist/lib/credentials/credentials.js:381:40&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;at process.processTicksAndRejections (node:internal/process/task_queues:95:5)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Node.js v20.5.1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Can you please help me with this?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Aug 2023 22:35:24 GMT</pubDate>
    <dc:creator>o1</dc:creator>
    <dc:date>2023-08-21T22:35:24Z</dc:date>
    <item>
      <title>Error while creating a chatbot</title>
      <link>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/4909326#M2389</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I am following this link to create a simple chatbot :&amp;nbsp;&lt;A href="https://developer.webex.com/blog/from-zero-to-webex-teams-chatbot-in-15-minutes" target="_blank" rel="noopener"&gt;https://developer.webex.com/blog/from-zero-to-webex-teams-chatbot-in-15-minutes&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;While executing, seeing this error:&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;omkarparanjape@OPARANJA-M-2P6X webex-bot-starter % npm start&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;gt; Webex-Bot-Starter@1.0.0 start&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&amp;gt; npm install &amp;amp;&amp;amp; node --use_strict index.js&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;up to date, audited 1294 packages in 2s&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;63 packages are looking for funding&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;run `npm fund` for details&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;60&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt; vulnerabilities (47 &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;&lt;STRONG&gt;moderate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, 12 &lt;/SPAN&gt;&lt;SPAN class="s2"&gt;&lt;STRONG&gt;high&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;, 1 &lt;/SPAN&gt;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;critical&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;To address issues that do not require attention, run:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;npm audit fix&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;To address all issues (including breaking changes), run:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;npm audit fix --force&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Run `npm audit` for details.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Starting framework, please wait...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;/Users/omkarparanjape/Desktop/webex-bot-starter/webex-bot-starter/node_modules/@webex/webex-core/dist/lib/credentials/credentials.js:381&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;return _promise.default.reject(new Error('Current state cannot produce an access token'));&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;^&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Error: Current state cannot produce an access token&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;at &lt;/SPAN&gt;&lt;SPAN class="s5"&gt;/Users/omkarparanjape/Desktop/webex-bot-starter/webex-bot-starter/&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;node_modules/&lt;/SPAN&gt;&lt;SPAN class="s6"&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/923065"&gt;@webex&lt;/a&gt;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;/webex-core/dist/lib/credentials/credentials.js:381:40&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p3"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;at process.processTicksAndRejections (node:internal/process/task_queues:95:5)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Node.js v20.5.1&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Can you please help me with this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2023 22:35:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/4909326#M2389</guid>
      <dc:creator>o1</dc:creator>
      <dc:date>2023-08-21T22:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating a chatbot</title>
      <link>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/4909589#M2390</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/355663"&gt;@o1&lt;/a&gt;&amp;nbsp;I just tested the tutorial from the blog and it worked fine for me. Here is what I did:&lt;/P&gt;
&lt;P&gt;- start ngrok with "&lt;SPAN&gt;ngrok http 7001 --region=eu"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- duplicate the .env.local file and rename it to .env&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- change the variables in the .env file&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- npm start&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Communication with the bot worked afterwards. I am assuming you missed something from the step by step guide, probably you did not create a new .env file.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 08:30:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/4909589#M2390</guid>
      <dc:creator>Janos Benyovszki</dc:creator>
      <dc:date>2023-08-22T08:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating a chatbot</title>
      <link>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/4913836#M2400</link>
      <description>&lt;P&gt;Hello Janos &amp;amp; Omkar,&lt;/P&gt;
&lt;P&gt;We tried following the steps mentioned however we have the same error what Omkar is encountering.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We tried on both Windows &amp;amp; Linux machines and doesnt work on either.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello Omkar,&amp;nbsp; Did you manage to fix the issue in your environment ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 11:34:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/4913836#M2400</guid>
      <dc:creator>LalitKameshwar</dc:creator>
      <dc:date>2023-08-29T11:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating a chatbot</title>
      <link>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/4921722#M2429</link>
      <description>&lt;P&gt;Hi Lalit,&lt;/P&gt;
&lt;P&gt;I didn't try this approach later. I will update you in case Janos' suggestion help me to resolve the issue I was facing.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 01:36:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/4921722#M2429</guid>
      <dc:creator>o1</dc:creator>
      <dc:date>2023-09-12T01:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating a chatbot</title>
      <link>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/4921790#M2430</link>
      <description>&lt;P&gt;Sure&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/355663"&gt;@o1&lt;/a&gt;, bases on your Test - you can let us know your findings and we can assist you further based on your outcome.&lt;BR /&gt;And&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/453610"&gt;@LalitKameshwar&lt;/a&gt;, in that case - could you kindly share the details to &lt;A href="mailto:devsupport@webex.com" target="_blank"&gt;devsupport@webex.com&lt;/A&gt;&amp;nbsp;please so we can track this requirement better and investigate what exactly the error you're getting.&lt;BR /&gt;You can send us mail on the provided id and it'd raise a Support case in our queue. Please share the exact error details there and we can initiate investigating the error from there.&lt;/P&gt;
&lt;P&gt;Regards!&lt;BR /&gt;Sandip&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 05:25:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/4921790#M2430</guid>
      <dc:creator>sandiban</dc:creator>
      <dc:date>2023-09-12T05:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating a chatbot</title>
      <link>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/5001980#M2735</link>
      <description>&lt;P&gt;I saw the same problem. Please don't follow the JSON format of .env in the tutorial. Instead, copy .env.local and use that format to replace the information. That's only in my case, not sure if it helps.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 00:46:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/error-while-creating-a-chatbot/m-p/5001980#M2735</guid>
      <dc:creator>Augustus Li</dc:creator>
      <dc:date>2024-01-22T00:46:03Z</dc:date>
    </item>
  </channel>
</rss>

