RpcError CPU Miner

Hello I have this error with CPU miner:
ERRO Failed to submit a solution: RpcError { code: -32502, message: “Failed to validate solution” }
I have server run and wallet on listen