Skip to content

Getting issue calling my function #2930

Answered by cgillum
DawichR asked this question in Q&A
Discussion options

You must be logged in to vote

I think you can ignore my other response. I misread the error message. The problem you're encountering is that DurableTaskClient must be added as a parameter to your HTTP trigger function with a [DurableClient] attribute binding instead of as a constructor for your class. Something like this:

[Function("GetTransactionByTypeToDataLake_HttpStart")]
public async Task<HttpResponseData> HttpStart(
    [HttpTrigger(AuthorizationLevel.Function, "post")] HttpRequestData req,
    [DurableClient] DurableTaskClient durableClient,
    FunctionContext executionContext)
{
    ProcessDataParamsInputDto<GetTransactionByTypeToDataLakeParamsInputDto> processInputParams =
        ProcessDataParamsInputDto<G…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@DawichR
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by DawichR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants