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

Check for cursor in saved connector state #87

Closed
fatchat opened this issue May 30, 2024 · 1 comment · Fixed by #88
Closed

Check for cursor in saved connector state #87

fatchat opened this issue May 30, 2024 · 1 comment · Fixed by #88
Assignees

Comments

@fatchat
Copy link

fatchat commented May 30, 2024

Topic

incremental mixin

Relevant information

No response

@fatchat
Copy link
Author

fatchat commented May 30, 2024

2024-05-30 16:52:50 source > Encountered an exception while reading stream Facility KoboID link
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py", line 135, in read
    yield from self._read_stream(
  File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/abstract_source.py", line 216, in _read_stream
    stream_instance.state = stream_state  # type: ignore # we check that state in the dir(stream_instance)
  File "/airbyte/integration_code/source_kobotoolbox/source.py", line 97, in state
    self._cursor_value = value[self.cursor_field]
KeyError: '_submission_time'

and also for other streams

(airbyte job 4671)

with this change the streams synced successfully (job 4672)

Important: This command can only be run by one of the repository admins:
Usage: ./tools/bin/get_repo_admins.sh <personal_access_token>

@fatchat fatchat added this to Dalgo May 30, 2024
@fatchat fatchat moved this to In Progress in Dalgo May 30, 2024
@fatchat fatchat assigned fatchat and unassigned Ishankoradia May 30, 2024
@fatchat fatchat linked a pull request May 30, 2024 that will close this issue
@fatchat fatchat closed this as completed May 30, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Dalgo May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants