airbytehq / airbytehq/PyAirbyte

Failed to run a manifest-only connector (source-zendesk-support)

Đang mở
#710 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
344
Fork
77
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
35

Mô tả

We are using [`source-zendesk-support`](https://docs.airbyte.com/integrations/sources/zendesk-support) connector with PyAirbyte and the connector started to fail several days ago.
The error seems to be caused by the connector's recent migration to manifest-only format (https://github.com/airbytehq/airbyte/pull/61599).
Any fixes or workarounds available?

Below are the script and error details:

```py
# PyAirbyte version is 0.27.0
import airbyte as ab

zendesk_subdomain = "..."
zendesk_email = "..."
zendesk_api_token = "..."
start_date = "..."

source = ab.get_source(
"source-zendesk-support",
config={
"subdomain": zendesk_subdomain,
"start_date": start_date,
"credentials": {
"credentials": "api_token",
"email": zendesk_email,
"api_token": zendesk_api_token,
},
},
)

source.check()
```

```
SAWarning: The GenericFunction 'flatten' is already registered and is going to be overridden.
Writing PyAirbyte logs to file: /tmp/airbyte/logs/2025-07-04/airbyte-log-JZAAM5472.log
Writing `source-zendesk-support` logs to file: /tmp/airbyte/logs/source-zendesk-support/source-zendesk-support-log-JZAAM547F.log
{"type":"TRACE","trace":{"type":"ERROR","emitted_at":1751619606671,"error":{"message":"Something went wrong in the connector. See the logs for more details.","internal_message":"Connector check failed. (AirbyteConnectorCheckFailedError)\n------------------------------------------------------------\nAirbyteConnectorCheckFailedError: Connector check failed.\n Please review the log file for more information.\n More info: https://docs.airbyte.com/integrations/sources/zendesk-support\n Connector Name: 'source-zendesk-support'\n Failure Reason: \"'Encountered an error while discovering streams. Error: Could not load module `source_declarative_manifest.components`.'\"\n Log file: /tmp/airbyte/logs/source-zendesk-support/source-zendesk-support-log-JZAAM547F.log","stack_trace":"Traceback (most recent call last):\n File \".../zendesk.py\", line 36, in \n source.check()\n File \".../.venv/lib/python3.10/site-packages/airbyte/_connector_base.py\", line 330, in check\n raise exc.AirbyteConnectorCheckFailedError(\nairbyte.exceptions.AirbyteConnectorCheckFailedError: Connector check failed. (AirbyteConnectorCheckFailedError)\n------------------------------------------------------------\nAirbyteConnectorCheckFailedError: Connector check failed.\n Please review the log file for more information.\n More info: https://docs.airbyte.com/integrations/sources/zendesk-support\n Connector Name: 'source-zendesk-support'\n Failure Reason: \"'Encountered an error while discovering streams. Error: Could not load module `source_declarative_manifest.components`.'\"\n Log file: /tmp/airbyte/logs/source-zendesk-support/source-zendesk-support-log-JZAAM547F.log\n","failure_type":"system_error"}}}
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.