08-21-2023 03:35 PM
Hi Team,
I am following this link to create a simple chatbot : https://developer.webex.com/blog/from-zero-to-webex-teams-chatbot-in-15-minutes
While executing, seeing this error:
omkarparanjape@OPARANJA-M-2P6X webex-bot-starter % npm start
> Webex-Bot-Starter@1.0.0 start
> npm install && node --use_strict index.js
up to date, audited 1294 packages in 2s
63 packages are looking for funding
run `npm fund` for details
60 vulnerabilities (47 moderate, 12 high, 1 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
Starting framework, please wait...
/Users/omkarparanjape/Desktop/webex-bot-starter/webex-bot-starter/node_modules/@webex/webex-core/dist/lib/credentials/credentials.js:381
return _promise.default.reject(new Error('Current state cannot produce an access token'));
^
Error: Current state cannot produce an access token
at /Users/omkarparanjape/Desktop/webex-bot-starter/webex-bot-starter/node_modules/@webex/webex-core/dist/lib/credentials/credentials.js:381:40
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v20.5.1
Can you please help me with this?