Check for errors in response