Blob Storage Filters

Singh, Vineet Prakash (ext) 5 Reputation points
2024-09-26T11:17:48.0133333+00:00

I have a Storage Account configured with event, and there are filters active on storage account.

when I am uploading files with .txtd, 400 error getting thrown at notify blob completion Api.

IoTHubDeviceClient_LL_AzureStorageNotifyBlobUploadCompletion

If I remove the Subject Begins with field, everything works fine

/blobServices/default/containers/device-data/

I am trying to understand from azure-iot-sdk-c side from where "/blobServices/default/containers/device-data/" data is getting transmitted.

Because with older sdk 1.11.0 its working fine. recently I have updated sdk to 1.14.0 and started to see this issue, after debugging come to events filtering.

Any explanation/help will be appreciated. blobstorage_event

iothub error:

{"statusCode":"400","errorMessage":"Storage endpoint or blob name is invalid","deviceId":"7C:87:CE:EB:82:62","trackingId":"BF2A6968C3794BC287E45B64939B7EE2-G2:-TimeStamp:2024-09-26T10:30:53.820541109Z","fileUploadCorrelationId":"MjAyNDA5MjYxMTQwXzk0NTJiZjMyLTM4NDItNDZjZi1hNGQ3LWM2YmYwZTY4ZjY4ZV83Yzg3Y2VlYjgyNjJfdHJlbmRfMjB5XzAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwX2lkeDAwdG8yMF8yMDI0MDkyNi0xMjMwMzkuZHh0ZF92ZXIyLjA=","fileUploadStatusDescription":null,"fileUploadFilename":"7c87ceeb8262_trend_20y_00000000000000000000000000000000_idx00to20_20240926-123039.dxtd","fileUploadStatusCode":"","maskedIpAddress":"106.79.198.XXX","isSuccess":"False"}
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,876 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,195 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.