add validation for 'invalid_location' response