twilio / twilio-cli

Unleash the power of Twilio from your command prompt
MIT License
161 stars 79 forks source link

[Video API] The flag --room-sid always prints "Missing required flag room-sid" #556

Closed kNoAPP closed 7 months ago

kNoAPP commented 11 months ago

Issue Summary

When executing the following commands, the CLI always returns the error:

 »   Error: The following error occurred:
 »     Missing required flag room-sid
 »   See more help with --help

Commands:

 twilio api video:v1:rooms:participants:list --room-sid="RM20b23b3ec526d485b90a7aa9a016985a"
 twilio api video:v1:rooms:participants:list --room-sid RM20b23b3ec526d485b90a7aa9a016985a
 twilio api video:v1:rooms:participants list --room-sid="RM20b23b3ec526d485b90a7aa9a016985a"
 twilio api video:v1:rooms:participants list --room-sid RM20b23b3ec526d485b90a7aa9a016985a

Steps to Reproduce

Run any of the above commands. Ensure a profile has been set prior. You may need to use a different, valid room sid.

Code Snippet

None

Exception/Log

None

Technical details:

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days.

kNoAPP commented 10 months ago

Still an issue.

spalmertwilio commented 9 months ago

Issue Verified. The parameter that is missing is 'status' With the options of 'in-progress' or 'completed' as seen in https://www.twilio.com/docs/video/api/participants?code-sample=code-retrieve-a-list-of-connected-participants&code-language=curl&code-sdk-version=json

kNoAPP commented 9 months ago

Thanks @spalmertwilio. Even then, according to the documentation you provided, 'status' should be optional.

spalmertwilio commented 9 months ago

Yes, you are correct. We now have an bug in our backlog for this issue.

github-actions[bot] commented 8 months ago

This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days.

github-actions[bot] commented 7 months ago

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.

github-actions[bot] commented 7 months ago

This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.