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

Failing to specify an 'entityPath' in a connection string results in an unintuitive error #222

Open
richardpark-msft opened this issue Jul 12, 2021 · 2 comments

Comments

@richardpark-msft
Copy link
Member

If you specify a connection string that does not have an EntityPath=<event hub name key/value you get this error:

*Error{Condition: amqp:internal-error, Description: The service was unable to process the request; please retry the operation. 

Which doesn't really tell you what you've done wrong. We can do a cursory check on the string to make sure that EntityPath is specified to avoid surfacing this error.

In other track 2 libraries we actually allow a second form where you can specify a broker-level connection string and then the eventhub is a separate parameter. This could be a nicer way to fix this.

@richardpark-msft
Copy link
Member Author

@devigned
Copy link
Member

Definitely beneficial to fix that in the client, but would be more impactful to fix that in the service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants