Pardot source connector issue related with page_size vs v5_page_size
- Ngôn ngữ chính
- Python
- Star
- 22.1k
- Fork
- 5.3k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
### Connector Name
source-pardot
### Connector Version
0.13.0
### What step the error happened?
Configuring a new connector
### Relevant information
```
# Pardot Source
resource "airbyte_source_pardot" "source_pardot" {
name = "Pardot"
workspace_id = var.workspace_id
configuration = {
start_date = "2024-07-11T00:00:00Z"
is_sandbox = false
client_id = local.pardot_secrets.PARDOT_CLIENT_ID
client_secret = local.pardot_secrets.PARDOT_CLIENT_SECRET
refresh_token = local.pardot_secrets.PARDOT_REFRESH_TOKEN
pardot_business_unit_id = "0Uv5g0000008OT2CAM"
}
}
```
That's my pardot source terraform code and below is atlantis plan (terraform plan) result
Actually there is error between airbyte terraform provider and airbyte source code.
https://github.com/airbytehq/terraform-provider-airbyte/blob/main/internal/provider/source_pardot_resource.go#L85
https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/connectors/source-pardot/manifest.yaml#L2752
### Relevant log output
```shell
After running atlantis apply (terraform apply) then got below issue
Apply Error
Show Output
running 'sh -c' '/atlantis-data/bin/terraform1.13.4 apply -input=false "/atlantis-data/repos/oviceinc/terraform-airbyte/17/default/airbyte/production/default.tfplan"' in '/atlantis-data/repos/oviceinc/terraform-airbyte/17/default/airbyte/production': exit status 1
airbyte_source_pardot.source_pardot: Modifying... [name=Pardot]
╷
│ Error: failure to invoke API
│
│ with airbyte_source_pardot.source_pardot,
│ on sources.tf line 173, in resource "airbyte_source_pardot" "source_pardot":
│ 173: resource "airbyte_source_pardot" "source_pardot" {
│
│ unknown status code returned: Status 422
│ {"status":422,"type":"https://reference.airbyte.com/reference/errors#unprocessable-entity","title":"unprocessable-entity","detail":"The
│ body of the request was not
│ understood","documentationUrl":null,"data":{"message":"json schema
│ validation failed when comparing the data to the json schema. \nErrors: $:
│ property 'page_size' is not defined in the schema and the schema does not
│ allow additional properties "}}
╵
```
### Contribute
- [x] Yes, I want to contribute
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.