airbytehq / airbytehq/PyAirbyte

Bug in PyAirbyte / Pinterest Source

Open
#824 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
344
Forks
77
Avg merge
1d 11h
Merged PRs (30d)
35

Description

Hey,

we are running "airbyte==0.31.7".

We have a minimal Python file using PyAirbyte with the following content:

```python
import airbyte as ab

source = ab.get_source(
"source-pinterest",
config={"count": 5_000},
install_if_missing=True,
)
source.check()
```

However, when we run this, we will get the following error:

```
Writing PyAirbyte logs to file: /tmp/airbyte/logs/2025-10-07/airbyte-log-K6YYKVR35.log
Writing `source-pinterest` logs to file: /tmp/airbyte/logs/source-pinterest/source-pinterest-log-K6YYKVR4F.log
{"type":"TRACE","trace":{"type":"ERROR","emitted_at":1759827851075,"error":{"message":"Something went wrong in the connector. See the logs for more details.","internal_message":"Connector check failed. (AirbyteConnectorCheckFailedError)
------------------------------------------------------------
AirbyteConnectorCheckFailedError: Connector check failed.
Please review the log file for more information.
More info: https://docs.airbyte.com/integrations/sources/pinterest
Connector Name: 'source-pinterest'
Failure Reason: \"'Encountered an error while discovering streams. Error: Could not load module `source_declarative_manifest.components`.'\"
Log file: /tmp/airbyte/logs/source-pinterest/source-pinterest-log-K6YYKVR4F.log","stack_trace":"Traceback (most recent call last):
File \".../git/playground/pyair/main.py\", line 8, in
source.check()
File \".../git/playground/pyair/.venv/lib/python3.12/site-packages/airbyte/_connector_base.py\", line 357, in check
raise exc.AirbyteConnectorCheckFailedError(
airbyte.exceptions.AirbyteConnectorCheckFailedError: Connector check failed. (AirbyteConnectorCheckFailedError)
------------------------------------------------------------
AirbyteConnectorCheckFailedError: Connector check failed.
Please review the log file for more information.
More info: https://docs.airbyte.com/integrations/sources/pinterest
Connector Name: 'source-pinterest'
Failure Reason: \"'Encountered an error while discovering streams. Error: Could not load module `source_declarative_manifest.components`.'\"
Log file: /tmp/airbyte/logs/source-pinterest/source-pinterest-log-K6YYKVR4F.log
","failure_type":"system_error"}}}
```

Unfortunately, the log files are empty.

Can you give us a hint what is wrong?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.