Custom activity - Mandatory header is missing while calling api

Suba Balaji 11,186 Reputation points
2022-09-16T05:11:39.22+00:00

Hi,

I am trying to resize the batch pool to 0 once I am done with the batch activity (so that I need not pay even when the node is idle). I referred the below link

resize

POST account.region.batch.azure.com/pools/resizePool/resize?api-version=2022-01-01.15.0

{
"targetDedicatedNodes": 1,
"targetLowPriorityNodes": 0
}

But while running the web activity I am getting below error - mandatory request header is missing ..

Could anyone throw some light on this please.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,643 questions
{count} votes