Difficulties extracting header values with REST API Connector in Camunda 8

Hello Camunda Community,

I’m having trouble extracting a header value from a REST API response in Camunda 8. I’m trying to get the value of the operation-location header from the Azure Document Intelligence API response, but I always get a “null” value back.

Here are the steps I have taken so far:

REST API Connector Configuration:

I have configured the REST API Connector in Camunda 8 to send a POST request to the Azure API.
The request works successfully and I receive a 202 acceptance response from Azure.
Response from Azure:

Azure sends back the operation-location header, which contains the URL with the resultID that I need to use for subsequent GET requests.
Problems with output mapping:

When I try to extract the operation-location header via the output mapping of the REST API Connector, I get errors.
I have tried various expression formats, including {AzurePostAnswer: response.headers.operation-location} and {AzurePostAnswer: response.headers[“operation-location”]} , but none seem to work.
If I just extract the header, I see the whole JSON.

I need help with the following points:

How do I correctly extract the value of the operation-location header from the REST API response?
Is there any special syntax I should use to deal with hyphens in the header name in Camunda 8?
Any assistance or guidance will be greatly appreciated. Thanks in advance for your help!.

Hi @kebru09 - is this a different issue than your other topic?