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

The error message of "az apic environment show" when searching for non-existent env is inaccurate. #31

Open
alisa-1020 opened this issue Apr 25, 2024 · 2 comments
Labels
bug Something isn't working P1 service team

Comments

@alisa-1020
Copy link

Describe the bug

image

Related command

az apic environment show -g alisatestapi -s alisatestservice2 --environment-id alisaenv

Errors

image

Issue script & Debug output

when to get a exist env is ok ,when to get a non-exist env the error message is
image

Expected behavior

environment not found
or none 404

Environment Summary

azure-cli 2.57.0 *

core 2.57.0 *
telemetry 1.1.0

Extensions:
apic-extension 1.0.0b5
azure-devops 0.26.0

Dependencies:
msal 1.26.0
azure-mgmt-resource 23.1.0b2

Additional context

No response

@alisa-1020 alisa-1020 added the bug Something isn't working label Apr 25, 2024
@Annefch
Copy link

Annefch commented Apr 25, 2024

Register a non-exist env will also report this error
image

@blackchoey
Copy link
Owner

Reported to service team.

@blackchoey blackchoey added the P1 label Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1 service team
Projects
None yet
Development

No branches or pull requests

3 participants