diff --git a/scripts/firecloud_api/firecloud_api2.py b/scripts/firecloud_api/firecloud_api2.py index c6506765ea..a35dda3e8d 100644 --- a/scripts/firecloud_api/firecloud_api2.py +++ b/scripts/firecloud_api/firecloud_api2.py @@ -186,7 +186,7 @@ def poll_job_status(self, submission_id): # Continuously poll the status of the submission until completion while True: - status_response = requests.get(status_url, headers=self.headers) + status_response = requests.get(status_url, headers=self.build_auth_headers(self.delegated_creds.token)) # Check if the response status code is successful (200) if status_response.status_code != 200: