"properly" return errors from locations endpoint