Forum Discussion
Logic app in Fabric
- 1 year ago
Thanks for getting back.
I think from the first screenshot and this Fabric screenshot it is clear that Fabric is sending text and Logic app is expecting Json, and thats why failed.
In Fabric Data Pipelines, you can override the “Content-Type” header by adding it in the Settings for your Web activity. First, add a Web activity to your pipeline. Then select the activity, go to the Settings tab, and configure headers. Create a header named `Content-Type` and set its value to `application/json` so that Logic Apps or similar endpoints recognize the request as JSON.
Hope this is will resolve the issue.Please accept this solution and give kudos if this is helpful
Thanks
Authentication method is anonymous in both platforms and there is no change in data or data formats.
One thing I noticed it content type got changed while calling from fabric: -
Any leads how to resolve it ?
Thanks,
Girish
- nilendraFabric1 year agoSuper User
Thanks for getting back.
I think from the first screenshot and this Fabric screenshot it is clear that Fabric is sending text and Logic app is expecting Json, and thats why failed.
In Fabric Data Pipelines, you can override the “Content-Type” header by adding it in the Settings for your Web activity. First, add a Web activity to your pipeline. Then select the activity, go to the Settings tab, and configure headers. Create a header named `Content-Type` and set its value to `application/json` so that Logic Apps or similar endpoints recognize the request as JSON.
Hope this is will resolve the issue.Please accept this solution and give kudos if this is helpful
Thanks
- girishtharwani21 year agoHelper III
Thank you very much for your assistance and saving a day.
It worked like a charm.
Thanks,
Girish