question

TinaJainGupta-1423 avatar image
0 Votes"
TinaJainGupta-1423 asked MayankBargali-MSFT commented

Azure Data Factory Error : Operation on target Azure Function1 failed: Call to provided Azure function 'XXX' failed with status-'NotFound'

Hi,

I have created a pipeline in ADF , with DataFlow Activity from container Storage -> Azure SQL. On success , my HTTP Function is triggered , which in turn processes the SQL Data inserted. The Blob -> SQL Dataflow is working fine , but my function execution breaks with the following Error even though the function is running in backend (Also the function automatically stops execution in sometime without any exception) .

Also , I have set my function timeout in host.json file as 10 min.

Error in ADF :

Operation on target Azure Function1 failed: Call to provided Azure function 'XXXXX' failed with status-'NotFound' and message - '<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
'.

Any suggestion would be of great help !

Thanks in advance.

azure-data-factoryazure-functions
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @TinaJainGupta-1423 ,

Welcome to Microsoft Q&A Platform. Thank you for posting query in Microsoft Q&A Platform. Could you please help on below clarifications to help you better.

  • Is linked service to your Azure Functions is successful? If no, what is the error message?

  • Are you sure, that your function is in running state, when you are calling it from ADF? Could you please recheck and run ADF when Azure function is in running state and see?

  • How is your azure function protected? if protected using AAD you need Bearer token. if you are using keys you need x-function key. below is link with more details
    https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook#authorization-keys



0 Votes 0 ·

Hi Shaikh ,

Yes the Link is successful . I was able to check the debugs I had in my code in the logs.

Yes. The function is in running state and the execution starts as expected.

The function calling does not seem to be a problem here as the Function stops the execution in between running state after sometime as what I see the logs.


0 Votes 0 ·

Hi, if you restart your Function App does the error go away for a few hours before it comes back?

0 Votes 0 ·

Hi Christian,

this is a persistent issue. Restarting the App does not effect the error.

Thanks,
Tina

0 Votes 0 ·

@TinaJainGupta-1423 Can you refer to my private comment to share more details so I can assist you further.

0 Votes 0 ·

1 Answer

ranjitchavan-7048 avatar image
0 Votes"
ranjitchavan-7048 answered MayankBargali-MSFT commented

Hi team, we got this Error please help


Azure Function Executor failed, 'Call to provided Azure function '<function name >' failed with status-'InternalServerError' and message - '<html><head><title>500 - The request timed out.</title></head><body> <font color ="#aa0000"> <h2>500 - The request timed out.</h2></font> The web server failed to respond within the specified time.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ranjitchavan-7048 Thanks for reaching out. It looks like the error is coming from the function app end. I will suggest you to review the function logs to know more details on the root cause. In case if you still observe the issue then I will suggest you to open a new Q&A post to assist you further.

0 Votes 0 ·