Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: airbyte_connection fails to execute while using mongodb source and s3 as destination #125

Open
chlete opened this issue Jul 11, 2024 · 0 comments

Comments

@chlete
Copy link

chlete commented Jul 11, 2024

Hello,

I'm using terraform with the latest airbyte module version (0.5.2) and airbyte cloud to create a source (mongodb v2), destination (s3) and connection. Sources and destinations are created correctly, but fails on creating a connection. The error is not descriptive enough to find out the root cause, neither gives out information of where such logs can be found:

2024-07-11T10:47:52.2439413Z Error: failure to invoke API
2024-07-11T10:47:52.2439990Z 
2024-07-11T10:47:52.2440610Z   with airbyte_connection.connection_mongodb_to_s3,
2024-07-11T10:47:52.2442117Z   on main.tf line 54, in resource "airbyte_connection" "connection_mongodb_to_s3":
2024-07-11T10:47:52.2443690Z   54: resource "airbyte_connection" "connection_mongodb_to_s3" {
2024-07-11T10:47:52.2444571Z 
2024-07-11T10:47:52.2445119Z unknown status code returned: Status 500
2024-07-11T10:47:52.2447024Z {"status":500,"type":"https://reference.airbyte.com/reference/errors","title":"unexpected-problem","detail":"An
2024-07-11T10:47:52.2448858Z unexpected problem has occurred. If this is an error that needs to be
2024-07-11T10:47:52.2450138Z addressed, please submit a pull request or github
2024-07-11T10:47:52.2451630Z issue.","documentationUrl":null,"data":{"message":"Something went wrong in
2024-07-11T10:47:52.2453138Z the connector. logs:Something went wrong in the connector. See the logs for
2024-07-11T10:47:52.2454265Z more details."}}

The definition of the connection in terraform looks like

  resource "airbyte_connection" "connection_mongodb_to_s3" {
  name = "${var.env}-tf-conn-mongodb-to-s3"
  source_id = airbyte_source_mongodb_v2.airbyte_src_mongodb.source_id
  destination_id = airbyte_destination_s3.airbyte_mongodb_dst_s3.destination_id
  data_residency = "eu"
  }

Unfortunately, the error reference link is broken, but I found it, however, nothing is mentioned about this error.
Any idea on how to read connector logs on the Airbyte cloud?

Thanks!
Christian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant