airbytehq / airbytehq/airbyte

Pardot source connector issue related with page_size vs v5_page_size

未關閉
#68,192 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area/connectors autoteam community connectors/source/pardot needs-triage team/extensibility type/bug
主要語言
Python
星號
22.1k
分支
5.4k
平均合併
5 小時
30 天內合併 PR
671

描述

### 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

Image

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。