Prashant Mittal
07/25/2024, 3:37 PMJonathan Pouliot
07/25/2024, 8:54 PMCưáťng Tráş§n VÄn
07/26/2024, 4:04 AMSlackbot
07/28/2024, 12:59 AMShmuel Milavski
07/29/2024, 9:00 AMSomething went wrong in the connector. See the logs for more details. - Traceback (most recent call last):
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/abstract_source.py", line 135, in read
yield from self._read_stream(
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/abstract_source.py", line 231, in _read_stream
for record_data_or_message in record_iterator:
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/streams/core.py", line 174, in read
for record_data_or_message in records:
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/declarative/declarative_stream.py", line 128, in read_records
yield from self.retriever.read_records(self.get_json_schema(), stream_slice)
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py", line 375, in read_records
for stream_data in self._read_pages(record_generator, self.state, _slice):
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py", line 298, in _read_pages
response = self._fetch_next_page(stream_state, stream_slice, next_page_token)
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py", line 484, in _fetch_next_page
return self.requester.send_request(
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/declarative/requesters/http_requester.py", line 294, in send_request
request, response = self._http_client.send_request(
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/streams/http/http_client.py", line 331, in send_request
response: requests.Response = self._send_with_retry(request=request, request_kwargs=request_kwargs, log_formatter=log_formatter)
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/streams/http/http_client.py", line 209, in _send_with_retry
response = backoff_handler(user_backoff_handler)(request, request_kwargs, log_formatter=log_formatter) # type: ignore # mypy can't infer that backoff_handler wraps _send
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/backoff/_sync.py", line 105, in retry
ret = target(*args, **kwargs)
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/streams/http/http_client.py", line 291, in _send
raise UserDefinedBackoffException(
airbyte_cdk.sources.streams.http.exceptions.UserDefinedBackoffException: The request failed due to an unknown error.
ERROR
None - Traceback (most recent call last):
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/connector_builder/message_grouper.py", line 302, in _read_stream
yield from AirbyteEntrypoint(source).read(source.spec(self.logger), config, configured_catalog, state)
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/entrypoint.py", line 166, in read
for message in self.source.read(self.logger, config, catalog, state):
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py", line 167, in read
yield from super().read(logger, config, catalog, state)
File "/home/airbyte/.pyenv/versions/3.9.19/lib/python3.9/site-packages/airbyte_cdk/sources/abstract_source.py", line 185, in read
raise AirbyteTracedException(message=error_message, failure_type=FailureType.config_error)
airbyte_cdk.utils.traced_exception.AirbyteTracedException: None
Christopher Vreugdenhil
07/29/2024, 1:44 PMSai Charan Anumolu
07/31/2024, 3:25 AMJason Alexander
07/31/2024, 4:54 AMLorenzo D'Agostino
07/31/2024, 9:51 AM[
{
"DeclaredQuantity": 0,
"EventTime": "2024-07-30T17:38:47.52"
},
{
"DeclaredQuantity": 0,
"EventTime": "2024-07-31T10:31:54.843"
},
{
"DeclaredQuantity": 0,
"EventTime": "2024-07-31T10:58:12.163"
}
]
What i expect is that the Stream state is set to the last EventTime (2024-07-31T10:58:12.163
in this case) but it seems that the state can be set only to datetimes starting from yesterday
[
{
"type": "STREAM",
"stream": {
"stream_descriptor": {
"name": "Incremental"
},
"stream_state": {
"EventTime": "2024-07-30T17:38:47.52"
}
},
"sourceStats": {
"recordCount": 3
}
}
]
Another intresting thing is that if i set the Starting Datetime (configured to be a user input) to today, the API returns data correctly but the stream state is not set at all:
[
{
"type": "STREAM",
"stream": {
"stream_descriptor": {
"name": "Incremental"
},
"stream_state": {}
},
"sourceStats": {
"recordCount": 2
}
}
]
Does anyone have suggestions?
Thanks in advance for your help!Prashant Mittal
07/31/2024, 12:24 PMRubĂŠn MartĂn
08/01/2024, 8:01 AMKRISHIV GUBBA
08/01/2024, 10:42 AMGabriel Segers
08/01/2024, 4:04 PMOmar GarcĂa OrtĂz
08/02/2024, 8:23 PMThe manifest version 2.3.0 is greater than the airbyte-cdk package version (2.0.0). Your manifest may contain features that are not in the current CDK version.
KRISHIV GUBBA
08/04/2024, 5:01 PMBrian Bolt
08/06/2024, 1:00 PMAndrew Nada
08/06/2024, 11:00 PMAdrian B.G.
08/07/2024, 3:10 PMRenee Trochet
08/07/2024, 11:29 PMloup
08/11/2024, 8:47 AMMichal Krawczyk
08/12/2024, 11:37 AMed
08/12/2024, 12:51 PMDeclarativeCursor
, e.g. to use datetime stream slicers for cursor fields still supported for low-code connectors? Thanks đAvinash Mishra
08/13/2024, 9:19 AMtimestamp
column in the format %Y-%m-%d %H:%M:%S
, and the API accepts from
and to
parameters in the format %Y-%m-%d
. For example:
API: <https://api.test.com/xyz?from=2024-08-10&to=2024-08-10>
Response Data:
[
{
"timestamp": "2024-08-06 00:11:55",
"timezone": "UTC"
}
]
How can I configure the connector to support incremental sync using the timestamp
as the cursor and ensure that the from
and to
parameters in the API URL are set based on the stream state (using the last execution date) up to yesterdayâs date?Megan Rogers
08/13/2024, 11:57 AMWolfgang Ihloff
08/14/2024, 6:15 AMKRISHIV GUBBA
08/14/2024, 4:02 PMdhanush
08/16/2024, 6:59 AMRequest to <https://pi.pardot.com/api/v5/objects/emails?fields=id,clientType,prospectId,listEmailId&nextPageToken=eyJvcmRlckJ5IjoiIiwiZmlsdGVycyI6W10sImxpbWl0IjoyMDAsInJlc3VtZVZhbHVlIjp7ImlkIjo0ODc3MTk4N30sInBhZ2UiOjEsInJlY0NvdW50IjoyMDAsImV4cGlyZVRpbWUiOiIyMDI0LTA4LTEzVDEwOjU2OjEyLTA3OjAwIiwiZGVsZXRlZCI6bnVsbH0=> failed with status code 400 and error message Page token has expired. - Traceback (most recent call last):
Aditya Gupta
08/16/2024, 10:19 AMSylvia Simon
08/19/2024, 8:15 AMexport_id
.
2. Use that export_id
in a GET request to download the export.
Iâm stuck on how to grab the export_id
from the POST response and use it in the GET request. This is what it looks like on the records after the POST request. Any tips or examples on how to handle this?
Let me know if youâd like any more info. Thanks a bunch!Clemens Meyer zu Rheda
08/19/2024, 11:54 AMAccess Token Property Name
can be defined. Ideally I would like something like this (but the response object is not available):