Check for endpoints in response, displaying error message properly