attempt to check response status codes