-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
"aws configure sso" fails unhelpfully with invalid SSO session names #7643
Comments
Thanks @gbenson for reporting this issue, I could reproduce the behavior you described. It looks like a client-side validator could be added here to ensure that the SSO Session Name doesn't contain spaces: aws-cli/awscli/customizations/configure/sso.py Lines 209 to 228 in dc53215
|
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
aws configure sso
fails with a cryptic error message if an invalid SSO session name is supplied.Expected Behavior
It'd be nice to have an informative error message:
Current Behavior
There's nothing more, the command terminates there. Possibly a traceback got eaten somewhere?
Reproduction Steps
Run
aws configure sso
and give it an SSO session name with whitespace in it.Possible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.9.21
Environment details (OS name and version, etc.)
Python/3.9.11 Linux/5.10.153-20434-g98da1eb2cf9d exe/x86_64.debian.11 prompt/off
The text was updated successfully, but these errors were encountered: