https://linen.dev logo
#troubleshooting
Title
# troubleshooting
e

Enrico Tuvera Jr.

03/28/2022, 4:46 PM
Hi guys, I had trouble with the hubspot connector a week or so back and even after the changes I'm still getting failed syncs. new log file is attached
o

Octavia Squidington III

03/28/2022, 4:50 PM
loading...
m

Marcos Marx (Airbyte)

03/28/2022, 11:09 PM
Copy code
Traceback (most recent call last):
  File "/airbyte/integration_code/source_hubspot/source.py", line 146, in read
    internal_config=internal_config,
  File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/sources/abstract_source.py", line 159, in _read_stream
    for record in record_iterator:
  File "/airbyte/integration_code/source_hubspot/source.py", line 175, in _read_incremental
    internal_config=internal_config,
  File "/usr/local/lib/python3.7/site-packages/airbyte_cdk/sources/abstract_source.py", line 199, in _read_incremental
    stream_instance.state = stream_state
  File "/airbyte/integration_code/source_hubspot/streams.py", line 674, in state
    else pendulum.parse(state_value)
  File "/usr/local/lib/python3.7/site-packages/pendulum/parser.py", line 29, in parse
    return _parse(text, **options)
  File "/usr/local/lib/python3.7/site-packages/pendulum/parser.py", line 45, in _parse
    parsed = base_parse(text, **options)
  File "/usr/local/lib/python3.7/site-packages/pendulum/parsing/__init__.py", line 74, in parse
    return _normalize(_parse(text, **_options), **_options)
  File "/usr/local/lib/python3.7/site-packages/pendulum/parsing/__init__.py", line 115, in _parse
    return _parse_iso8601_interval(text)
  File "/usr/local/lib/python3.7/site-packages/pendulum/parsing/__init__.py", line 215, in _parse_iso8601_interval
    if "/" not in text:
TypeError: argument of type 'NoneType' is not iterable
Looks is an issue parsing the state from the Hubspot response
If you use full refresh the sync works
?
e

Enrico Tuvera Jr.

03/29/2022, 2:42 AM
Yes, the full refresh sync works fine
5 Views