Withdrawing rewards

Hi Guys,

I followed the guide following guide. I am trying to withdraw rewards and i am encountering the following error. You help is much appreciated.

[10. Withdrawing rewards — cardano-node Documentation 1.0.0 documentation]
(https://docs.cardano.org/projects/cardano-node/en/latest/stake-pool-operations/withdraw-rewards.html)

For example. I have 20k ADA in reward stake.addr and I am looking to withdraw 10k ADA to my payment.addr

Shelley command failed: transaction submit Error: Error while submitting tx: ApplyTxError [LedgerFailure (DelegsFailure (WithdrawalsNotInRewardsDELEGS (fromList [(RewardAcnt {getRwdNetwork = Mainnet, getRwdCred = KeyHashObj (KeyHash “***********************************”)},Coin *************)])))

You can only withdraw the total amount in one tx, not partial.

Thank you! It worked.