Skip to content

Commit 2a5914a

Browse files
Merge pull request #229141 from da5is/patch-1
Added explicit info on the value of EVENT_HUB_NAME
2 parents bbe30b0 + 7b7018c commit 2a5914a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/event-hubs/event-hubs-python-get-started-send.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ In this section, create a Python script to send events to the event hub that you
106106
* `EVENT_HUB_CONNECTION_STR`
107107
* `EVENT_HUB_NAME`
108108

109+
[!NOTE]
110+
Make sure that **EVENT_HUB_NAME** is the name of the event hub and not the Event Hubs namespace. If this value is incorrect, you will receive the error code: `CBS Token authentication failed.`.
111+
109112
```python
110113
import asyncio
111114

@@ -366,4 +369,4 @@ If you don't see events in the receiver window or the code reports an error, try
366369

367370
In this quickstart, you've sent and received events asynchronously. To learn how to send and receive events synchronously, go to the [GitHub sync_samples page](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventhub/azure-eventhub/samples/sync_samples).
368371

369-
For all the samples (both synchronous and asynchronous) on GitHub, go to [Azure Event Hubs client library for Python samples](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventhub/azure-eventhub/samples).
372+
For all the samples (both synchronous and asynchronous) on GitHub, go to [Azure Event Hubs client library for Python samples](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/eventhub/azure-eventhub/samples).

0 commit comments

Comments
 (0)