You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when the client function tries to invoke the orchestrator function, I get this error:
[2022-08-31T10:42:51.972Z] Executing 'Functions.TimerTriggerStart' (Reason='Timer fired at 2022-08-31T12:42:51.9287484+02:00', Id=2722cf45-75e1-4c74-ba2b-f36733270863)
[2022-08-31T10:42:51.976Z] Trigger Details: UnscheduledInvocationReason: RunOnStartup
[2022-08-31T10:42:53.760Z] Worker process started and initialized.
[2022-08-31T10:42:56.558Z] Host lock lease acquired by instance ID '00000000000000000000000067BD87D1'.
[2022-08-31T10:43:19.964Z] Scheduling new RunOrchestrator orchestration with instance ID '0e90a778968a44d3ab39c924d01bc6c7' and 0 bytes of input data.
[2022-08-31T10:43:20.287Z] Executing 'Functions.RunOrchestrator' (Reason='(null)', Id=e4b48ac1-2255-45fd-9be8-10b7b0fd371e)
[2022-08-31T10:43:21.283Z] Executed 'Functions.TimerTriggerStart' (Succeeded, Id=2722cf45-75e1-4c74-ba2b-f36733270863, Duration=29336ms)
[2022-08-31T10:43:21.342Z] Executed 'Functions.RunOrchestrator' (Failed, Id=e4b48ac1-2255-45fd-9be8-10b7b0fd371e, Duration=1069ms)
[2022-08-31T10:43:21.345Z] System.Private.CoreLib: Exception while executing function: Functions.RunOrchestrator. System.Private.CoreLib: Result: Failure
Exception: Microsoft.Azure.Functions.Worker.FunctionInputConverterException: Error converting 1 input parameters for Function 'RunOrchestrator': Cannot convert input parameter 'context' to type 'Microsoft.DurableTask.TaskOrchestrationContext' from type 'System.String'. Error:System.Text.Json.JsonException: 'C' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
[2022-08-31T10:43:21.345Z] ---> System.Text.Json.JsonReaderException: 'C' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
I literally don't get where this string is coming from and what could be its value. This is a brand new project and I'm cleaning Azurite storage at each run. Tried both VS and VS Code
EDIT:
Changing the RunOrchestrator function parameter I can get the string value:
I am trying to set durable functions as follow:
However, when the client function tries to invoke the orchestrator function, I get this error:
I literally don't get where this string is coming from and what could be its value. This is a brand new project and I'm cleaning Azurite storage at each run. Tried both VS and VS Code
EDIT:
Changing the
RunOrchestrator
function parameter I can get the string value:context
value:CiAxZTZhYjQxMmMyMzc0Zjc5YWM4NzllMzFkNmE3ZDkwYSIaCP///////////wESCwiuqL2YBhCU2Ys5cgAigwEI////////////ARIMCK2ovZgGEOTKvcQDGmgKD1J1bk9yY2hlc3RyYXRvchIAGgcKBSJhYWEiIkoKIDFlNmFiNDEyYzIzNzRmNzlhYzg3OWUzMWQ2YTdkOTBhEiYKJDRlZDA4ZDE4LTg4NjMtNDMyNC05NzBhLWY1MjkwNDQ3YTEyYg==
The text was updated successfully, but these errors were encountered: