Custom activity - Mandatory header is missing while calling api
Suba Balaji
11,186
Reputation points
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
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.