A community member has associated this post with a similar question:
Data Factory Web Activity error on POST

Only moderators can edit this content.

Web Activity error on POST request - Data Factory

Syed, Umair 25 Reputation points
2025-01-08T22:49:08.55+00:00

I am trying to make a POST request to an external API using the 'REST' linked service as a source dataset of the data flow. I have a complex json array to pass but as a starting point, I am using the following json:

//sample json body
{"operator": "","operands": "","type": "expression"}

The error:

User's image

The same payload works well using Postman. Also, the same dataset works well when I change the API endpoint to a GET operation. The definition of data flow using POST is as follows:

User's image

I have also tried adding Content-Length header and used the size of the json both escaped and un-escaped, but I am getting a different error for both requests:
User's image

I am using self hosted IR using Azure managed VNet and there are no connectivity or firewall issues talking to external APIs.

Is it possible that it is due to the following bug: https://learn.microsoft.com/en-us/azure/data-factory/control-flow-web-activity#type-properties
User's image

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,869 questions
{count} votes