Hi @TDay You're correct — the runtime body {}
should not be blank.
This happens because in Azure Data Factory (ADF) External Call, even though the "Copy request payload" shows the correct JSON (with firstname
and lastname
), at runtime ADF expects a body
field to be explicitly mapped. If you don't map the body
, ADF sends {}
— an empty body — by default.
In your External Call configuration, you need to build the body
field manually, for
Example:
body => toJson({
"firstname": firstname,
"lastname": lastname
})
Make sure your External Call activity is configured with:
- Request Body Column Name =
body
- Request Format =
JSON
Once mapped correctly, ADF will send the full JSON object at runtime instead of {}
.
It's understandable this was confusing — ADF's preview shows what would be sent if mappings were complete, but it doesn't warn if runtime mappings are missing.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.