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

twilio api:video:v1:recording-settings:default:fetch causing TypeError: Cannot read property 'forEach' of undefined #221

Open
hieuvn1301 opened this issue Sep 25, 2020 · 3 comments
Labels
status: help wanted requesting help from the community triage queue Issue is in our internal backlog. It's either a bug or a feature enhancement. type: bug bug in the library

Comments

@hieuvn1301
Copy link

hieuvn1301 commented Sep 25, 2020

Issue Summary

Running twilio api:video:v1:recording-settings:default:fetch is causing TypeError: Cannot read property 'forEach' of undefined

Steps to Reproduce

Run twilio api:video:v1:recording-settings:default:fetch

Technical details:

  • twilio-cli version: 2.10.0
  • node version: v12.12.0
[DEBUG] Config File: C:\Users\hieuvn\.twilio-cli\config.json
[DEBUG] Using profile: hieuvn
[DEBUG] Provided flags: {"cli-log-level":"debug","properties":"friendlyName,awsStorageEnabled,encryptionEnabled","skip-parameter-validation":false,"cli-output-format":"columns"}
[DEBUG] domainName=video, path=/v1/RecordingSettings/Default, actionName=fetch
[DEBUG] Found command "api:video:v1:recording-settings:default: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 (C:\Users\hieuvn\AppData\Roaming\npm\node_modules\twilio-cli\src\services\twilio-api\api-command-runner.js:78:18)
    at ApiCommandRunner.run (C:\Users\hieuvn\AppData\Roaming\npm\node_modules\twilio-cli\src\services\twilio-api\api-command-runner.js:26:17)
    at NewCommandClass.run (C:\Users\hieuvn\AppData\Roaming\npm\node_modules\twilio-cli\src\base-commands\twilio-api-command.js:39:35)
    at async NewCommandClass._run (C:\Users\hieuvn\AppData\Roaming\npm\node_modules\twilio-cli\node_modules\@oclif\command\lib\command.js:43:20)
    at async Config.runCommand (C:\Users\hieuvn\AppData\Roaming\npm\node_modules\twilio-cli\node_modules\@oclif\config\lib\config.js:173:24)
    at async Main.run (C:\Users\hieuvn\AppData\Roaming\npm\node_modules\twilio-cli\node_modules\@oclif\command\lib\main.js:27:9)
    at async Main._run (C:\Users\hieuvn\AppData\Roaming\npm\node_modules\twilio-cli\node_modules\@oclif\command\lib\command.js:43:20)
@thinkingserious
Copy link
Contributor

Thanks for reporting this @hieuvn1301!

I was able to reproduce this on twilio-cli v2.10.0.

This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.

With best regards,

Elmer

@thinkingserious thinkingserious added help wanted status: help wanted requesting help from the community type: bug bug in the library labels Sep 26, 2020
@thinkingserious thinkingserious changed the title twilio api:video:v1:recording-settings:default:fetch twilio api:video:v1:recording-settings:default:fetch causing TypeError: Cannot read property 'forEach' of undefined Sep 26, 2020
@yalla
Copy link

yalla commented Nov 12, 2020

Also happens on twilio-cli/2.12.0 linux-x64 node-v12.18.2

@yalla
Copy link

yalla commented Nov 12, 2020

Function api:voice:v1:settings:fetch is also affected.

[DEBUG] Cannot read property 'forEach' of undefined
[DEBUG] TypeError: Cannot read property 'forEach' of undefined
    at ApiCommandRunner.execute (/home/alex/.nvm/versions/node/v12.18.2/lib/node_modules/twilio-cli/src/services/twilio-api/api-command-runner.js:78:18)
    at ApiCommandRunner.run (/home/alex/.nvm/versions/node/v12.18.2/lib/node_modules/twilio-cli/src/services/twilio-api/api-command-runner.js:26:17)
    at NewCommandClass.run (/home/alex/.nvm/versions/node/v12.18.2/lib/node_modules/twilio-cli/src/base-commands/twilio-api-command.js:39:35)
    at async NewCommandClass._run (/home/alex/.nvm/versions/node/v12.18.2/lib/node_modules/twilio-cli/node_modules/@oclif/command/lib/command.js:43:20)
    at async Config.runCommand (/home/alex/.nvm/versions/node/v12.18.2/lib/node_modules/twilio-cli/node_modules/@oclif/config/lib/config.js:173:24)
    at async Main.run (/home/alex/.nvm/versions/node/v12.18.2/lib/node_modules/twilio-cli/node_modules/@oclif/command/lib/main.js:27:9)
    at async Main._run (/home/alex/.nvm/versions/node/v12.18.2/lib/node_modules/twilio-cli/node_modules/@oclif/command/lib/command.js:43:20)

@shrutiburman shrutiburman added the triage queue Issue is in our internal backlog. It's either a bug or a feature enhancement. label Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: help wanted requesting help from the community triage queue Issue is in our internal backlog. It's either a bug or a feature enhancement. type: bug bug in the library
Projects
None yet
Development

No branches or pull requests

5 participants