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
Known regression notice: Activity input fails to deserialize when the input is an array
Error description:
We have just noticed that some users are experiencing errors in Durable Functions Python apps with an exception that includes Exception binding parameter '<your activity parameter name>' and Unexpected character encountered while parsing value.
This issue started with Durable Functions version v2.13.0. The following extension bundles are affected:
v4 bundles: 4.13.1
v3 bundles: 3.30.1+
Repro:
Use an array type as an input to your activity function.
# An HTTP-Triggered Function with a Durable Functions Client binding@myApp.route(route="orchestrators/{functionName}")@myApp.durable_client_input(client_name="client")asyncdefhttp_start(req: func.HttpRequest, client):
function_name=req.route_params.get('functionName')
instance_id=awaitclient.start_new(function_name)
response=client.create_check_status_response(req, instance_id)
returnresponse# Orchestrator@myApp.orchestration_trigger(context_name="context")defhello_orchestrator(context):
cities= ["Tokyo", "Seattle", "Cairo"]
results=yieldcontext.call_activity("hello", cities)
returnresults# Activity@myApp.activity_trigger(input_name="cities")defhello(cities: list):
results= []
forcityincities:
result=f"Hello {city}"context.log(result)
results.append(result)
returnresults
Incoming solution:
We're issuing a hotfix extension bundles release that will automatically fix any apps that are hitting the issue described here. It will take a few days to roll out.
Immediate Mitigation Options:
There are two ways to fix this issue: Pinning the extension bundles version or manually installing the working Durable Functions extension version.
Pinning the extension bundles version - Update the extension bundles version in host.json to use v3.29.0 or v4.12.0.
Known regression notice: Activity input fails to deserialize when the input is an array
Error description:
We have just noticed that some users are experiencing errors in Durable Functions Python apps with an exception that includes
Exception binding parameter '<your activity parameter name>'
andUnexpected character encountered while parsing value
.This issue started with Durable Functions version v2.13.0. The following extension bundles are affected:
Repro:
Use an array type as an input to your activity function.
Incoming solution:
We're issuing a hotfix extension bundles release that will automatically fix any apps that are hitting the issue described here. It will take a few days to roll out.
Immediate Mitigation Options:
There are two ways to fix this issue: Pinning the extension bundles version or manually installing the working Durable Functions extension version.
Example:
The text was updated successfully, but these errors were encountered: