Handle common 50x errors