Skip to content

Error Info from HTTPOperationError not returning without --debug flag #2793

Open

Description

  • If the issue is to do with Azure CLI 2.0 in-particular, create an issue here at Azure/azure-cli

Extension name (the extension in question)

k8sconfiguration

Description of issue (in as much detail as possible)

  • Error messages that are returned from our RP endpoint are not being propagated back to the user without using the --debug flag. Error that's returned is:
UnknownError: Operator returned an invalid status code 'Bad Request'

If you have access to the subscription, you can reproduce this error by performing the following commands

az account set --subscription 37524548-5887-4df0-a359-38a687fdb3bc
az k8sconfiguration create -n https-auth-config -g joinnis-test --cluster-name joinnis-arc-eus --cluster-type connectedClusters --scope cluster --operator-namespace config5 --operator-instance-name config5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions