Azure / azure-service-bus

☁️ Azure Service Bus service issue tracking and samples
https://azure.microsoft.com/services/service-bus
MIT License
586 stars 779 forks source link

Auto-forwarding destination entity not found error is incomplete #203

Closed SeanFeldman closed 1 year ago

SeanFeldman commented 6 years ago
var connectionString = Environment.GetEnvironmentVariable("AzureServiceBus.ConnectionString");
var nsm = NamespaceManager.CreateFromConnectionString(connectionString);

var desc = new QueueDescription("blah")
{
    ForwardTo = "doesntexist",
    ForwardDeadLetteredMessagesTo = "doesntexisteither",
};

await nsm.CreateQueueAsync(desc).ConfigureAwait(false);

Exception thrown: ArgumentException

The remote server returned an error: (400) Bad Request. SubCode=40400. 
The auto forwarding destination entity does not exist. TrackingId:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxx 
asbnamespace.servicebus.windows.net:blah, Timestamp:xx/xx/xxxx xx:xx:xx xx

From the exception it is not clear which forwarding destination was not found as it's not mentioned in the exception. Please specify argument name / value.

EldertGrootenboer commented 2 years ago

We have added this to our backlog, and will update this issue when we have more information.

EldertGrootenboer commented 1 year ago

The work for this has been done, closing this issue as completed.

SeanFeldman commented 1 year ago

A true 5 year anniversary gift 😂 Does that mean the exception will contain the entity name?

EldertGrootenboer commented 1 year ago

Correct 🙂.

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Sean Feldman @.> Sent: Thursday, April 13, 2023 6:49:11 PM To: Azure/azure-service-bus @.> Cc: Eldert Grootenboer @.>; State change @.> Subject: Re: [Azure/azure-service-bus] Auto-forwarding destination entity not found error is incomplete (#203)

A true 5 year anniversary gift 😂 Does that mean the exception will contain the entity name?

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/azure-service-bus/issues/203#issuecomment-1507814703, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEUZT7T2YBYWPCZ7R7A4O23XBCUJPANCNFSM4FCBZXSQ. You are receiving this because you modified the open/close state.Message ID: @.***>