Are you connecting to device using SSH and then performing that command from device?
SSH is being used to connect to device with a prompt > to enable privilege mode. This is how the commands are being executed on network device too.
can you share adapter request and response from processes.log.
also would be great if you can capture logs for this operation from grid.log and share it.
This issue was resolved by disabling Check for OS in adapter request, Thanks all.