Summary
The user is experiencing an error while running Terraform code for creating a Facebook source, specifically related to missing configuration for credentials.auth_type. The error message indicates a JSON schema validation failure.
Question
Anyone has an idea if Terraform FB Source creation code logic is changed. I am running my terraform code for facebook source and it is failing with the error. I don’t think we have credentials.authtype configuration for the terraform fb https://github.com/airbytehq/terraform-provider-airbyte/blob/70cef6484c13de8933ba40412c8c4fb09b8871d3/docs/resources/source_facebook_marketing.md|example.
│ Content-Length: 361
│ Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
│ Content-Type: application/json
│ Date: Thu, 13 Jun 2024 00:12:25 GMT
│ Server: envoy
│ Via: 1.1 google
│ X-Content-Type-Options: nosniff
│ X-Frame-Options: SAMEORIGIN
│ X-Xss-Protection: 0
│
│ {"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: $.credentials.auth_type: is missing but it is required "}}```
<br>
---
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. [Click here](https://airbytehq.slack.com/archives/C021JANJ6TY/p1718238028669849) if you want
to access the original thread.
[Join the conversation on Slack](https://slack.airbyte.com)
<sub>
["terraform", "fb-source", "credentials-auth-type", "json-schema-validation", "unprocessable-entity"]
</sub>