Azure / Azure/Azure-DataFactory
Azure Function call validation problem with empty JSON
Open
- Dominant language
- PowerShell
- Stars
- 529
- Forks
- 623
- PR merge metrics
- No merged PRs in 30d
Description
When creating an Azure Function call in ADF, it demands a valid body for a POST request.
Entering an empty body `{ }` is accepted, however when the changes are published, and refreshed the body section remains empty.
This causes future publish changes to fail because the body is empty and triggers the validation error.
Expected behavior: After publishing changes, the body should contain `{ }` instead of being empty.
Work-around: enter the default `{"body":{"myMessage":"Sample"}}` in the body and publish changes.
This just seems like a bug to me, am I missing something?
Contributor guide
Assessment
This issue has not been assessed yet.