io.zeebe.client.api.command.InternalClientException: Failed to validate json inpu**t

To communicate with my one of my rest Microservices, accepts a POST request with xml payload. i tried to put xmlpayload string to JSON value like (“XML”, xmlpayload) it is throwing Request processing failed; nested exception is io.zeebe.client.api.command.InternalClientException: Failed to validate json input