diff --git a/tap_salesforce/salesforce/__init__.py b/tap_salesforce/salesforce/__init__.py index f3bc7e0..044e19d 100644 --- a/tap_salesforce/salesforce/__init__.py +++ b/tap_salesforce/salesforce/__init__.py @@ -221,7 +221,7 @@ def __init__(self, self.default_start_date = default_start_date self.rest_requests_attempted = 0 self.jobs_completed = 0 - self.data_url = "{}/services/data/v53.0/{}" + self.data_url = "{}/services/data/v60.0/{}" self.pk_chunking = False self.auth = SalesforceAuth.from_credentials(credentials, is_sandbox=self.is_sandbox) diff --git a/tap_salesforce/salesforce/rest.py b/tap_salesforce/salesforce/rest.py index 03b2388..297869d 100644 --- a/tap_salesforce/salesforce/rest.py +++ b/tap_salesforce/salesforce/rest.py @@ -28,7 +28,7 @@ def _query_recur( end_date=None, retries=MAX_RETRIES): params = {"q": query} - url = "{}/services/data/v53.0/queryAll".format(self.sf.instance_url) + url = "{}/services/data/v60.0/queryAll".format(self.sf.instance_url) headers = self.sf.auth.rest_headers sync_start = singer_utils.now()