made a tidy error message for http 302 cases