Skip to content

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

@hieuvn1301

Description

@hieuvn1301

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowNice-to-have; can waitstatus: help wantedrequesting help from the communitytriage queueIssue is in our internal backlog. It's either a bug or a feature enhancement.type: bugbug in the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions