URI encode error message (rather than base64)