question

Jay-8106 avatar image
0 Votes"
Jay-8106 asked KranthiPakala-MSFT edited

ADF Azure Function Body format

I'm testing out creating my first Azure Function in ADF and stuck on the body JSON format.
I'm using the output from a filter:

{"name":"@{activity('FilterFilesXML').output}"}

My filter output is:

101655-image1.png

and the input for function is showing this:

101635-image2.png

I'm getting an Error code: 3608
Cause: The Azure function details in the activity definition may be incorrect.
Recommendation: Fix the Azure function details and try again.

So must be my format but can't see were it is wrong, ideas?

Thanks


azure-data-factoryazure-functions
image1.png (13.1 KiB)
image2.png (15.9 KiB)
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.

1 Answer

KranthiPakala-MSFT avatar image
1 Vote"
KranthiPakala-MSFT answered KranthiPakala-MSFT edited

Hi @Jay-8106,

Thanks for reaching out. Could you please make sure all the Function activity settings are configured accordingly including the linked service?

Also I would recommend please try with body {"name":"@{activity('FilterFilesXML').output.Value}"} and see if that helps?

Here is a similar implementation (Azure Function activity) described by a community volunteer. Please have a look at it to see if that helps - Azure Data Factory - Copy the latest file with DATE PART to Folder using AZURE FUNCTIONS

Do let us know how it goes.

Thank you


· 3
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.

Thanks KranthiPakala
I have created a function based on the video link.
J

0 Votes 0 ·

I don't seem to have a button to accept answer even though logged in

0 Votes 0 ·

Hi @Jay-8106, Thanks for confirming and glad to know that it was helpful to resolve your issue. I have converted my comment to answer. You should be able to see an option to accept answer. :)

Have a good day!

0 Votes 0 ·