getting API return code or error in WEB activity

Luis López 21 Reputation points
2021-05-21T13:09:35.067+00:00

I want to know where can i read an API error when call api in web activity, I don't see response section, I see the error message during monitor error tab but i watnt to save this errors for future references. Thanks

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,081 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 84,856 Reputation points Microsoft Employee
    2021-05-24T09:13:26.827+00:00

    Hello @Luis López ,

    Welcome to the Microsoft Q&A platform.

    To access error message details use Error.message property in expression using Ser Variable.

    In below example we are using same property to access web activity failure error details to store in variable.

    99063-adf-setvariable.gif

    Hope this helps. Do let us know if you any further queries.

    ------------

    Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful