Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when fetching conversations configuration #229

Closed
sergiofbsilva opened this issue Nov 21, 2020 · 0 comments · Fixed by #230 or twilio/twilio-cli-core#103
Closed

error when fetching conversations configuration #229

sergiofbsilva opened this issue Nov 21, 2020 · 0 comments · Fixed by #230 or twilio/twilio-cli-core#103

Comments

@sergiofbsilva
Copy link
Contributor

Issue Summary

The error Cannot read property 'forEach' of undefined occurs when fetching conversations API configuration.

Steps to Reproduce

  1. twilio api:conversations:v1:configuration:fetch -l debug

Technical details:

  • twilio-cli version: twilio-cli/2.13.0 darwin-x64
  • node version: node-v12.16.2
  • Command output with debug logging enabled (adding -l debug to the end of the command):
[DEBUG] Config File: /Users/user/.twilio-cli/config.json
[DEBUG] Using profile: myprofile
[DEBUG] Found command "api:conversations:v1:configuration:fetch" plugin: twilio-cli
[DEBUG] Found keytar version in "@twilio/cli-core" dependencies: ^6.0.1
[DEBUG] Provided flags: {"cli-log-level":"debug","properties":"accountSid,defaultChatServiceSid,defaultMessagingServiceSid","skip-parameter-validation":false,"cli-output-format":"columns"}
[DEBUG] domainName=conversations, path=/v1/Configuration, actionName=fetch
[DEBUG] Found command "api:conversations:v1:configuration:fetch" plugin: twilio-cli
 » twilio-cli encountered an unexpected error. To report this issue, execute the command with the "-l debug" flag, then copy the output to a new issue here: "https://github.com/twilio/twilio-cli/issues"
[DEBUG] Cannot read property 'forEach' of undefined
[DEBUG] TypeError: Cannot read property 'forEach' of undefined
    at ApiCommandRunner.execute (/usr/local/Cellar/twilio/2.13.0/libexec/src/services/twilio-api/api-command-runner.js:78:18)
    at ApiCommandRunner.run (/usr/local/Cellar/twilio/2.13.0/libexec/src/services/twilio-api/api-command-runner.js:26:17)
    at NewCommandClass.run (/usr/local/Cellar/twilio/2.13.0/libexec/src/base-commands/twilio-api-command.js:39:35)
    at async NewCommandClass._run (/usr/local/Cellar/twilio/2.13.0/libexec/node_modules/@oclif/command/lib/command.js:43:20)
    at async Config.runCommand (/usr/local/Cellar/twilio/2.13.0/libexec/node_modules/@oclif/config/lib/config.js:173:24)
    at async Main.run (/usr/local/Cellar/twilio/2.13.0/libexec/node_modules/@oclif/command/lib/main.js:27:9)
    at async Main._run (/usr/local/Cellar/twilio/2.13.0/libexec/node_modules/@oclif/command/lib/command.js:43:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant