[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-19。"],[],[],null,["This document provides some common troubleshooting tips for\nAzure Event Hubs import topics.\n\nAfter you configure the import topic and start ingesting messages, you can\ncheck the relevant Cloud Monitoring metrics to see\nif data is ingested. Perform the following steps:\n\n1. In the console, go to the **Topics** page.\n\n [Go to Topics](https://console.cloud.google.com/cloudpubsub/topic/list)\n2. Click the Azure Event Hubs import topic that you want to troubleshoot.\n\n3. In the topic details page, click the **Metrics** tab.\n\n4. Check the chart for the metric **Ingestion byte count**.\n\n5. If no data is being ingested, in the topic details page,\n check to see if there is an error for the\n **Topic state** field.\n\n6. You can also check the metric **Ingestion data source state** .\n To do so, in the topic details page, click the **Metrics** tab.\n\n7. Here is a list of errors that you might encounter:\n\n | Error Code | Description | Fix |\n |--------------------------------|----------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n | `EVENT_HUBS_PERMISSION_DENIED` | Error consuming data from Azure Event Hubs due to permission issues. | Verify the roles assigned to the registered Azure app[and ensure the necessary permissions are granted](/pubsub/docs/create-azure-event-hub-import-topic#grant_role_assignments). |\n | `EVENT_HUBS_PERMISSION_DENIED` | Error consuming data from Azure Event Hubs due to permission issues. | Ensure that a service account exists and that it is correctly configured as described in the procedure [Create an App registration with identity federation.](/pubsub/docs/create-azure-event-hub-import-topic#create_id) For more information about how to create a service account, see [Create a service account in Google Cloud.](/pubsub/docs/create-azure-event-hub-import-topic#create-service-account) |\n | `EVENT_HUBS_PERMISSION_DENIED` | Error consuming data from Azure Event Hubs due to permission issues. | Verify that the Pub/Sub service account has the `iam.serviceAccounts.getOpenIdToken` permission. For more information, see [Add the Service Account Token Creator role to the Pub/Sub service account.](/pubsub/docs/create-azure-event-hub-import-topic#add-service-account-token-creator) |\n | `EVENT_HUBS_PERMISSION_DENIED` | Error consuming data from Azure Event Hubs due to permission issues. | Verify that you have added the service account user role to the service account. For more information, see [Add the service account user role to the service account.](/pubsub/docs/create-azure-event-hub-import-topic#add-service-account-role) |\n | `PUBLISH_PERMISSION_DENIED` | Error publishing to the topic due to permission issues. | Grant the Pub/Sub service account the [necessary publish permissions](/pubsub/docs/access-control#pubsub.publisher). For more information, see [Add the Pub/Sub publisher role to the Pub/Sub service account.](/pubsub/docs/create-azure-event-hub-import-topic#add-publisher-role) |\n | `EVENT_HUB_NOT_FOUND ` | The provided Azure event hub couldn't be found. | Verify the Azure event hub for accuracy. Ensure that the Azure event hub exists and is accessible. |\n | `SUBSCRIPTION_NOT_FOUND ` | The provided Azure Event Hubs subscription couldn't be found. | Verify the subscription for accuracy. Ensure that the subscription exists. |\n | `RESOURCE_GROUP_NOT_FOUND ` | The provided Azure Event Hubs resource group couldn't be found. | Verify the resource group for accuracy. Ensure that the resource group exists within the specified subscription. |\n\nIf there are no errors till this point, check the best practices in\n[Maintain a healthy publisher](/pubsub/docs/monitoring#keeping_publishers_healthy).\n\nYou can also enable [platform logs](/pubsub/docs/platform-logs-pubsub) for a\nimport topic. These logs help you troubleshoot issues\nwhen you have issues ingesting objects into Pub/Sub import topics."]]