Skip to content

Bug in PyAirbyte / Pinterest Source #824

@breuninger-dgrimm

Description

@breuninger-dgrimm

Hey,

we are running "airbyte==0.31.7".

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

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 <module>
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions