My Roomba 530 says charging error 5 & flashes red, how do I fix this?

When charging my Roomba 530 it initially flashes amber but after 20 minutes or so then says ‘charging error 5’ & flashes red. The wheels run freely and there are no issues with the docking station. This occurs whether charging via the docking station or independently, how do I resolve the problem?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 2
crwdns2934285:0crwdne2934285:0