airbytehq / airbytehq/airbyte

Connector to Adjust have error: "Unable to connect to stream AdjustReport - 'str object' has no attribute 'strftime'"

オープン
#69,799 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area/connectors autoteam community needs-triage team/use type/bug
主要言語
Python
スター
22.1k
フォーク
5.3k
PR マージ指標
PR 指標を取得中

説明

### Connector Name

Adjust

### Connector Version

Latest

### What step the error happened?

Configuring a new connector

### Relevant information

I just start using airbyte self-hosted version. When i try to connect to adjust, it always have this error even though i tried changing date, metrics, dimensions.

"Unable to connect to stream AdjustReport - 'str object' has no attribute 'strftime'"

Logs here if you want to see:
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info Transitioning workload to running state
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info Connector exited, processing output
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info Output file jobOutput.json found
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info ----- START CHECK -----
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info Connector exited with exit code 0
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info Reading messages from protocol version 0.2.0
2025-11-21 17:43:01 ERROR 2025-11-21 17:43:01 error Encountered an error trying to connect to stream AdjustReport. Error:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/checks/check_stream.py", line 42, in check_connection
stream_is_available, reason = availability_strategy.check_availability(stream, logger, source)
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/streams/http/availability_strategy.py", line 36, in check_availability
stream_slice = get_first_stream_slice(stream)
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/streams/utils/stream_helper.py", line 21, in get_first_stream_slice
stream.stream_slices(
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/declarative_stream.py", line 148, in stream_slices
return self.retriever.stream_slices()
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py", line 378, in stream_slices
return self.stream_slicer.stream_slices()
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/incremental/datetime_based_cursor.py", line 167, in stream_slices
end_datetime = self._select_best_end_datetime()
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/incremental/datetime_based_cursor.py", line 181, in _select_best_end_datetime
return min(self._end_datetime.get_datetime(self.config), now)
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/datetime/min_max_datetime.py", line 58, in get_datetime
time = self._parser.parse(str(self.datetime.eval(config, **additional_parameters)), datetime_format) # type: ignore # datetime is always cast to an interpolated string
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/interpolation/interpolated_string.py", line 40, in eval
return self._interpolation.eval(self.string, config, self.default, parameters=self._parameters, **kwargs)
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/interpolation/jinja.py", line 91, in eval
return self._literal_eval(self._eval(default, context), valid_types)
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/interpolation/jinja.py", line 109, in _eval
return self._environment.from_string(s).render(context) # type: ignore # from_string is able to handle None
File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 1295, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 942, in handle_exception
raise rewrite_traceback_stack(source=source)
File "", line 1, in top-level template code
File "/usr/local/lib/python3.10/site-packages/jinja2/utils.py", line 92, in from_obj
if hasattr(obj, "jinja_pass_arg"):
jinja2.exceptions.UndefinedError: 'str object' has no attribute 'strftime'
2025-11-21 17:43:01 ERROR 2025-11-21 17:43:01 error Check failed
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info Checking for optional control message...
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info Optional control message not found. Skipping...
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info Writing output of d3b7fa46-111b-419a-998a-d7f046f6d66d_54741ecb-ab57-4a60-b4bc-f54d9f0428ed_0_check to the doc store
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info Workload successfully transitioned to running state
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info Marking workload d3b7fa46-111b-419a-998a-d7f046f6d66d_54741ecb-ab57-4a60-b4bc-f54d9f0428ed_0_check as successful
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info Deliberately exiting process with code 0.
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info ----- END CHECK -----
2025-11-21 17:43:01 INFO 2025-11-21 17:43:01 info

### Relevant log output

```shell

```

### Contribute

- [ ] Yes, I want to contribute

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。