Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harvest Integration not successfully extracting data #61

Open
Benbentwo opened this issue Jul 10, 2024 · 0 comments
Open

Harvest Integration not successfully extracting data #61

Benbentwo opened this issue Jul 10, 2024 · 0 comments

Comments

@Benbentwo
Copy link

Benbentwo commented Jul 10, 2024

It appears the Harvest Integration for Stitch has stopped working as of March 2024. The Extraction does not fully error out and stop, however no data is pulled from harvest. Viewing the logs of the extraction you see:

2024-07-10 19:52:10,049Z   main - INFO Running tap-harvest version 2.1.3 and target-stitch version 3.2.1
2024-07-10 19:52:11,194Z   main - INFO No tunnel subprocess to tear down
Traceback (most recent call last):
  File "/root/.pyenv/versions/3.9.6/bin/stitch-orchestrator", line 33, in <module>
    sys.exit(load_entry_point('stitch-orchestrator==0.80.0', 'console_scripts', 'stitch-orchestrator')())
  File "/root/.pyenv/versions/3.9.6/lib/python3.9/site-packages/stitch_orchestrator/__init__.py", line 1227, in main
    exit_status = do_sync(tun.connection, menagerie)
  File "/root/.pyenv/versions/3.9.6/lib/python3.9/site-packages/stitch_orchestrator/__init__.py", line 1100, in do_sync
    tap_command = build_tap_command(connection, menagerie)
  File "/root/.pyenv/versions/3.9.6/lib/python3.9/site-packages/stitch_orchestrator/__init__.py", line 735, in build_tap_command
    menagerie.load_state(connection, props)
  File "/root/.pyenv/versions/3.9.6/lib/python3.9/site-packages/stitch_orchestrator/__init__.py", line 428, in load_state
    response = request(self.session, method='get', url=self.get_state_url, timeout=REQUEST_TIMEOUT)
  File "/root/.pyenv/versions/3.9.6/lib/python3.9/site-packages/backoff/_sync.py", line 94, in retry
    ret = target(*args, **kwargs)
  File "/root/.pyenv/versions/3.9.6/lib/python3.9/site-packages/stitch_orchestrator/__init__.py", line 650, in request
    response.raise_for_status()
  File "/root/.pyenv/versions/3.9.6/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://menagerie.service.stitchdata.com:5033/menagerie/public/v2/clients/<our_id>/connections/<connection_id>/state

This happens even after a successful re-authorization by the account owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant