Exception while deserializing variable

Hi

I have added a few complex json variables in my execution ,dynamically through Rest Api. All my tasks are external tasks. I am getting below error while transitioning to next state

CAMUNDA_EXTERNAL_TASK_CLIENT-03005 Exception while deserializing variables '{}'","logger_name":"org.camunda.bpm.client","thread_name":"TopicSubscriptionManager","level":"ERROR","level_value":40000,"stack_trace":"org.camunda.bpm.client.impl.EngineClientException: CAMUNDA_EXTERNAL_TASK_CLIENT-02009 Exception while deserializing variable file_path: no suitable mapper found for type json\n\tat org.camunda.bpm.client.impl.EngineClientLogger.exceptionWhileDeserializingVariables(EngineClientLogger.java:67)\n\tat org.camunda.bpm.client.impl.variable.VariableMappers.deserializeVariables(VariableMappers.java:79)\n\tat org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.lambda$acquire$1(TopicSubscriptionManager.java:98)\n\tat java.util.Arrays$ArrayList.forEach(Arrays.java:3880)\n\tat org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.acquire(TopicSubscriptionManager.java:91)\n\tat org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.run(TopicSubscriptionManager.java:65)\n\tat java.lang.Thread.run(Thread.java:748)

As the error says , engine is probably not able to de-serialize the complex json objects. How can I fix this?

Thanks
Urvashi