Fix display of HTTP error messages for code redemption