Azure Stream Analytics configuration error codes

You can use activity logs and resource logs to help debug unexpected behaviors from your Azure Stream Analytics job. This article lists the description for every configuration error code. Configuration errors are related to your job configuration, or input and output configurations.

EventHubUnauthorizedAccess

  • Cause: Event Hubs threw an Unauthorized Access error.

EventHubReceiverEpochConflict

  • Cause: There's more than one Event Hubs receiver with different epoch values.
  • Recommendation: Ensure Service Bus Explorer or an EventProcessorHost application isn't connected while your Stream Analytics job is running.

EventHubReceiverQuotaExceeded

  • Cause: Stream Analytics can't connect to a partition because the maximum number of allowed receivers per partition in a consumer group has been reached.
  • Recommendation: Ensure that other Stream Analytics jobs or Service Bus Explorer aren't using the same consumer group.

EventHubOutputThrottled

  • Cause: An error occurred while writing data to Event Hubs due to throttling.
  • Recommendation: If this happens consistently, upgrade the throughput.

EventHubOutputInvalidConnectionConfig

  • Cause: The connection configuration provided is incorrect.
  • Recommendation: Correct the configuration and restart the job.

EventHubOutputInvalidHostname

  • Cause: The Event Hubs host is unreachable.
  • Recommendation: Ensure the supplied host name is correct.

EventHubOutputUnexpectedPartitionCount

  • Cause: The Event Hubs sender encountered an unexpected partition count.
  • Recommendation: Restart your Stream Analytics job if the event hub's partition count has changed.

CosmosDBPartitionKeyNotFound

  • Cause: Stream Analytics couldn't find the partition key of a particular Azure Cosmos DB collection in the database.
  • Recommendation: Ensure there's a valid partition key specified for the collection in Azure Cosmos DB.

CosmosDBInvalidPartitionKeyColumn

  • Cause: Thrown when a partition key is neither a leaf node nor at the top level.

CosmosDBInvalidIdColumn

  • Cause: The query output can't contain the column [id] if a different column is chosen as the primary key property.

CosmosDBDatabaseNotFound

  • Cause: Stream Analytics can't find an Azure Cosmos DB database.

CosmosDBCollectionNotFound

  • Cause: Stream Analytics can't find a particular Azure Cosmos DB collection in a database.

CosmosDBOutputWriteThrottling

  • Cause: An error occurred while writing data due to throttling by Azure Cosmos DB.
  • Recommendation: Upgrade the collection performance tier and tune the performance of your database.

SQLDatabaseConnectionStringError

  • Cause: The Stream Analytics job has encountered an authentication error.
  • Recommendation: Ensure that the SQL Database connection string is correct.

SQLDatabaseManagedIdentityAuthenticationError

  • Cause: The Stream Analytics job has encountered an authentication error.
  • Recommendation: Ensure that the account name is configured properly and the job's Managed Identity has access to the SQL Database.

SQLDatabaseOutputNoTableError

  • Cause: Stream Analytics can't find the schema information for a particular table.

SQLDWOutputInvalidServiceEdition

  • Cause: SQL Database isn't supported.
  • Recommendation: Use dedicated SQL pool.

Next steps