Read blob content using built in connector

Karnavkumar Vyas 1 Reputation point
2023-01-31T09:22:35.4366667+00:00

User's image

User's image

I have created a standard logic app workflow and trying to get all blob files and content sequentially from container.

I have used blob Built-in connector with action "Read blob content" . but its give me error when trying to fetch data from specific path .

List blob files action working correctly. but having a issue with Read blob content.

I have attached screen shots for configuration and error.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,862 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 68,656 Reputation points
    2023-02-08T10:53:07.3466667+00:00

    @Karnavkumar Vyas Thanks for reaching out. As per the error looks like the connector action is trying to read the JSON object content and when it tries it fails as it looks like your content is array of JSON objects and not only JSON object. I was able to reproduce the issue at my end and it looks like an issue with the connector as when I change the file format as txt then it read the correct value from the file. I don't see any option to remove the infer file content and I will reach out to my team on this issue as it should not fail with the array of JSON object in the file content.

    Update 8/2:

    The product team have confirmed that it is the issue with the json read for Blob Service read blob action.

    The team has fixed the issue is it is in the pipeline and the ETA is end of February, to get fix deployed to all regions.

     

    For the time being, you could change the JSON content to valid JObject, like instead of [{}] to { 'example' : [{}]} to get around this error. 

    0 comments No comments