invalid value for 'location' detected