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
Hello! We at Nasuni are trying to use DurableContext.call_activity_with_retry in an orchestrator that passes JSON-serializable objects as payloads. We are hitting the following exception when switching from call_activity (which works perfectly) to call_activity_with_retry. Our serializable payload class has the required to_json and from_json static methods.
Orchestrator function 'MPUOrchestrator' failed: One or more errors occurred.
Exception: TypeError: Object of type DurablePayload is not JSON serializable
I believe the problem is quite simple: the CallActivityWithRetryAction class does not serialize the input during initialization. The expected serialization is shown here in CallActivityAction.