adding error message from http header