airbytehq / airbytehq/PyAirbyte

Source Shopify: Connector Failed Error due to JSON Schema

Đang mở
#307 0 bình luận 1 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ả

## Connector
source-shopify

## Issue
Running a source read with the below code fails with a ConnectorFailedError

```python
source = ab.get_source(
"source-shopify",
install_if_missing=True,
config={
"shop": shopify_resource["store_name"],
"credentials": {
"auth_method": "api_password",
"api_password": shopify_resource["token"],
},
},
)

source.check()
source.get_available_streams()
source.select_streams(["customers", "orders"])
bq_cache = BigQueryCache(
project_name=bigquery_resource["project_id"],
dataset_name="shopify_test",
credentials_path= file_path
)

result = source.read(cache=bq_cache, force_full_refresh=True)

return result
```

The error message is:
```
Started `source-shopify` read operation at 09:58:38...
Read started on stream: customers at 09:58:57...
Read started on stream: orders at 10:00:46...
Could not determine airbyte type from JSON schema: {'description': 'Timestamp
when the marketing consent status was last updated.', 'anyOf': [{'type':
'string', 'format': 'date-time'}, {'type': 'string'}, {'type': 'null'}]}
Failed `source-shopify` read operation at 10:03:32.
```

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.