Getting error when transfer data from client to miner

I have implemented go-fil-markets.
I am able to start a deal but the client is not able to transfer data to the miner.
Getting the following error.

2020-08-28T16:51:03.310+0530	INFO	graphsync responsemanager/responsemanager.go:445	response failed: %!w(*errors.errorString=&{request not valid})

This the happening because the request is not validated. result.IsValidated is false in the below line.

Any pointers how I may be able to fix the issue?