azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Error codes in the article don't match the error codes that end users see in the portal

Open kwill-MSFT opened this issue 1 year ago • 1 comments

In the portal, if deletion of an event hub fails, the Summary shown in the activity logs is:

  Error code:  MetadataDRCannotDeleteWhenAliasPresentConflict
  Message:  DR config cannot be deleted because replication is in progress. Please failover or break pairing before attempting to delete the DR Config. For more information visit https://aka.ms/eventhubsarmexceptions.

But in the article, the error code is presented as: Error code: Conflict

In order to see the 'Conflict' error code, an end user would have to go into the JSON details of the activity log and see this:

        "statusCode": "Conflict",
        "statusMessage": "{\"error\":{\"code\":\"MetadataDRCannotDeleteWhenAliasPresentConflict\",\"message\":\"DR config cannot be deleted because replication is in progress. Please failover or break pairing before attempting to delete the DR Config. For more information visit https://aka.ms/eventhubsarmexceptions.\"}}",

The article should include the actual error that end users see, such as MetadataDRCannotDeleteWhenAliasPresentConflict


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

kwill-MSFT avatar Apr 24 '24 19:04 kwill-MSFT

@kwill-MSFT Thanks for your feedback! We will investigate and update as appropriate.

TPavanBalaji avatar Apr 25 '24 04:04 TPavanBalaji

@spelluru This is a worthy update to make. How can we represent the additional detail under the "Conflict" error code?

axisc avatar Jun 10 '24 19:06 axisc

@axisc - I guess we will have to add an additional column for "error codes in status message" for "Conflict" status code.

spelluru avatar Jun 10 '24 20:06 spelluru

Hi @kwill-MSFT - I will track this as a DevOps work item internally and send you the link. I will work with Ashish and other product team members to update the article. Thanks very much for the feedback.

#please-close

spelluru avatar Jun 11 '24 02:06 spelluru