Error code 5C not draining

Having a nightmare with my samsung washer, I have had the code 5C and 5UD.

Lint filter is clear

Waste hose is clear with no kinks

Drain pump replaced

Hoses from drum to pump clear

Water level sensor clear but not replaced.

Any ideas

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

crwdns2934109:0crwdne2934109:0

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