【问题标题】:Logic App send Event to Event Hub - Status 404逻辑应用将事件发送到事件中心 - 状态 404
【发布时间】:2021-09-15 11:53:53
【问题描述】:

我尝试熟悉 Azure 逻辑应用,因此我尝试了一些简单的事情,例如接收请求连接到数据库和/或事件中心。

如果将事件发送到事件中心,我会收到以下错误

{"statusCode":"BadRequest","body":{"code":"ServiceProviderActionFailed","message":"服务提供商操作失败,错误代码为 'BadRequest' 和错误消息 'Put token failed. status -code: 404, status-description: 找不到消息实体'sb://eventhubXX.servicebus.windows.net/eventhubXX/myeventhub'。要了解更多信息,请访问https://aka.ms/sbResourceMgrExceptions。TrackingId:1234567-1234-1245- 1254-1234562345_G15, SystemTracker:evneventhub01.servicebus.windows.net:eventhubxx/myeventhub, 时间戳:2021-09-15T08:41:35.'."}}

我从 EventHub 中复制了 Connectionstring 并将其粘贴到 Logic App 中。

我不知道问题出在哪里。

请帮助和/或给我一个提示。 谢谢!

【问题讨论】:

  • 我可以说 'eventhubXX/myeventhub' 不是一个有效的 eventthub 名称。 Eventhub 名称不应包含“/”。您应该检查您的逻辑应用配置。

标签: azure-logic-apps azure-eventhub


【解决方案1】:

根据Serkant Karaca,'eventhubXX/myeventhub' 不是有效的 eventthub 名称。 Eventhub 名称不应包含“/”。

要从 Azure 事件中心获取连接字符串,请参阅 MsftDocumentationSteps

有关如何从事件中心发送/接收事件的更多详细信息 - 请参阅# Send events to and receive events from Azure Event Hubs

【讨论】:

    猜你喜欢
    • 2019-04-24
    • 1970-01-01
    • 1970-01-01
    • 2021-06-02
    • 1970-01-01
    • 1970-01-01
    • 2020-06-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多