barter notification api and preferred location error fix