Shadi
Shadi

Reputation: 313

3603 User configuration issue error in Azure function on Azure Data Factory

I have an Azure HTTP Trigger function and when I sent a POST request via POSTMAN this function work correctly (the below pic).

enter image description here

Now, I added this function to Azure Data Factory and I wanna run this function with the pipeline. I configured the parameter but I received an error. I don't know how should I send a URL request in the ADF pipeline and I received the below error.

enter image description here

enter image description here

My azure function code is here

New Error is:

enter image description here

Upvotes: 0

Views: 1146

Answers (1)

joelforsyth
joelforsyth

Reputation: 1041

This is because your response from the Azure Function is not proper JSON. You have the return body like this:

 "This HTTP triggered function executed successfully. Pass a name in the query string or in the request body for a personalized response."

It needs to be formatted like JSON where that message is the value of the "body" property.

Something like this:

{"body":"my custom response"}

Upvotes: 0

Related Questions