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 is encountered when fetching Conversations Configuration #232

Closed
aymenn opened this issue Nov 24, 2020 · 2 comments
Closed

Error is encountered when fetching Conversations Configuration #232

aymenn opened this issue Nov 24, 2020 · 2 comments
Labels
status: duplicate duplicate issue

Comments

@aymenn
Copy link

aymenn commented Nov 24, 2020

Issue Summary

Invoking twilio api:conversations:v1:configuration:fetch causes error Cannot read property 'forEach' of undefined. This looks similar to Issue 221

Steps to Reproduce

  1. Run twilio api:conversations:v1:configuration:fetch

Code Snippet

#  twilio api:conversations:v1:configuration:fetch

Exception/Log

[DEBUG] Config File: /Users/anaim/.twilio-cli/config.json
[DEBUG] Using profile: FlexTest
[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)

Technical details:

  • twilio-cli/2.13.0 darwin-x64 node-v15.2.1
@sergiofbsilva
Copy link
Contributor

I believe this was fixed in this issue #229

@eshanholtz eshanholtz added the status: duplicate duplicate issue label Dec 2, 2020
@eshanholtz
Copy link
Contributor

Closing duplicate. Fix merged and will be release on 2020-12-02.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate duplicate issue
Projects
None yet
Development

No branches or pull requests

3 participants