Hello <@U04S8PLJWMT>. In our server the linkedin a...
# ask-ai
j
Hello @kapa.ai. In our server the linkedin ads connector the lastest version is 4.3.1. but the official connector is 5.x.x why is there a difference. (open source deployement)
k
The difference between the LinkedIn Ads connector version available on your server (4.3.1) and the latest official version (5.x.x) is likely due to how connector updates are managed in Airbyte Open Source (OSS) deployments. In Airbyte OSS, connector updates—including major, minor, and patch versions—are opt-in. This means that new versions are not applied automatically; you need to manually update connectors via the Airbyte UI or settings page. When a new major version (like 5.x.x) is released, you will see a badge indicating an available update, but you must explicitly choose to upgrade. This allows you to review changes and ensure compatibility with your setup before applying the update. If you do not perform this upgrade, your deployment will continue using the older version (in your case, 4.3.1) until you opt in to the newer version. This is different from Airbyte Cloud, where minor and patch updates are applied automatically, and major updates are applied after a notification window if not manually accepted [Managing Connector Updates in Airbyte](https://docs.airbyte.com/platform/managing-airbyte/connector-updates). To upgrade to the latest version, go to your Airbyte UI, look for available connector updates, and follow the prompts to update the LinkedIn Ads connector to version 5.x.x. Be sure to review the [migration guide](https://docs.airbyte.com/integrations/sources/linkedin-ads-migrations#linkedin-ads-migration-guide) for any breaking changes or required actions during the upgrade process.
j
@kapa.ai Thanks for info. Our airbyte server is deployed in GCP, how do I update the Airbyte server?
k
A message from kapa.ai
To update your Airbyte server deployed on GCP (using Docker), you need to temporarily stop Airbyte, update the Docker images, and restart the containers. Here’s a general process based on the official guidance: 1. Stop Airbyte containers:
Copy code
bash    docker-compose down
2. Update your
docker-compose.yaml
and
.env
files
to reference the desired (latest) Airbyte version. 3. Pull the latest images:
Copy code
bash    docker-compose pull
4. Start Airbyte containers:
Copy code
bash    docker-compose up -d
Note: Upgrades require temporarily turning off Airbyte, so there will be some downtime during this process. Your data and configuration should be safe as long as your database volume is persisted, which is the default setup on GCP Compute Engine [Persistence on Google Cloud Compute Engine after restart](https://discuss.airbyte.io/t/1381) [Upgrading Airbyte](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte). If you encounter issues, you can refer to the [official upgrade guide](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte) for more details.
j
Okay nice. @kapa.ai I am updating my airbyte server from 0.57.1. What is the next stable opensource version?
k
A message from kapa.ai
Based on the provided knowledge sources, the specific "next stable open source version" after 0.57.1 is not explicitly listed. However, the release notes and upgrade documentation reference recent stable versions such as v0.63.9 and later, and recommend upgrading to at least v0.63.9 or higher to ensure compatibility with upcoming changes (such as the migration to non-root connector images and deprecation of Docker Compose) [Airbyte 1.0 Announcements](https://docs.airbyte.com/release_notes/v-1.0#announcements) [August 2024 Release Notes](https://docs.airbyte.com/release_notes/aug_2024). Recommendation: Upgrade to the latest available stable version, ideally v0.63.9 or newer, as this is highly recommended for security and compatibility reasons. You can find the latest stable version on [Airbyte's ArtifactHub page](https://artifacthub.io/packages/helm/airbyte/airbyte) or in the [official release notes](https://docs.airbyte.com/release_notes/aug_2024). If you are on a much older version (like 0.57.1), it is generally best practice to upgrade incrementally through major versions to avoid migration issues, but the documentation does not specify required intermediate versions. Always review the release notes for breaking changes before upgrading.
j
@kapa.ai So if you were to incrementally update, which versions would you use? Im looking at the release docs currently, and it seems to stop at 0.63/4 is 1.0 for the premium version?
k
A message from kapa.ai
Based on the knowledge sources, Airbyte 1.0 is not exclusive to the premium (Enterprise or Cloud) version—it is available for open source (Self-Managed Community) users as well. The release notes for Airbyte 1.0 describe improvements and features for the general platform, and there is no indication that 1.0 is restricted to premium users [Airbyte 1.0 Release Notes](https://docs.airbyte.com/release_notes/v-1.0). Regarding incremental upgrades: The release documentation provides details up to around v0.63.x and then references the 1.0 release. There is no explicit step-by-step incremental upgrade path listed in the knowledge sources. However, the documentation strongly recommends upgrading to at least v0.63.9 or later before October 2024, due to important changes like the migration to non-root connector images [Airbyte 1.0 Announcements](https://docs.airbyte.com/release_notes/v-1.0#announcements) [August 2024 Release Notes](https://docs.airbyte.com/release_notes/aug_2024). Summary: - Airbyte 1.0 is available for open source users. - The recommended approach is to upgrade to v0.63.9 or later, and then to 1.0. - The knowledge sources do not provide a detailed list of every version to upgrade through, but upgrading to the latest stable version is advised. If you are on 0.57.1, upgrade to v0.63.9 or later, and then proceed to 1.0. Always review the release notes for each major version for any breaking changes or migration steps.
j
I just updated to 0.63.8 and the server starts up and the webapp runs. But nothing happens when I press SYNC.
@kapa.ai I just updated to 0.63.8 and the server starts up and the webapp runs. But nothing happens when I press SYNC.
k
A message from kapa.ai
If your Airbyte server is running v0.63.8, the webapp loads, but pressing SYNC does nothing, this issue has been reported by other users as well. Based on the knowledge sources, here are some possible causes and troubleshooting steps: 1. Temporal Service Issues: In some cases, the Temporal service (which orchestrates jobs) can get stuck or fail, preventing sync jobs from starting. Users have reported that the Temporal container may consume high CPU and no job containers are created. Check the logs for the Temporal and Worker containers for errors such as
service rate limit exceeded
or
NOT_FOUND: query task not found, or already expired
. If you see these, restarting the Temporal and Worker containers may help. In some cases, manual intervention to fix underlying issues with Temporal is required [Self-hosted Airbyte in Docker stuck and will not trigger sync](https://github.com/airbytehq/airbyte/issues/44833). 2. Role/RoleBinding Issues (Kubernetes): If you are running on Kubernetes and recently upgraded, there may be missing
Role
or
RoleBinding
resources, which can prevent pods (and thus jobs) from being created. Users have reported that after upgrading, these resources may be deleted and not recreated, breaking job execution. The workaround is to manually recreate the missing
Role
and
RoleBinding
using the templates from your Helm chart, or by running:
Copy code
bash    kubectl create -f <role.yaml>    kubectl create -f <rolebinding.yaml>
After that, restart the worker pod:
Copy code
bash    kubectl rollout restart deployment <release-name>-worker -n <namespace>
[Unable to create pods after upgrade to 0.63.11 due to missing role/binding](https://github.com/airbytehq/airbyte/issues/42859). 3. General Upgrade Issues: Some users have reported that after upgrading, syncs hang indefinitely or do not start, possibly due to internal state issues. In some cases, a full restart of Airbyte (docker-compose down/up) has resolved the issue [All syncs hanging indefinitely](https://github.com/airbytehq/airbyte/discussions/55833). Summary: - Check Temporal and Worker logs for errors. - If on Kubernetes, ensure all required roles and bindings exist. - Try restarting Airbyte services/containers. - If the issue persists, review the logs for more specific errors and consult the Airbyte community for further troubleshooting. If you need more targeted help, please provide relevant logs from the Temporal and Worker containers, as these often contain clues to the root cause.
j
it seems our db keeps on exiting. airbyte-db | airbyte-db | PostgreSQL Database directory appears to contain a database; Skipping initialization airbyte-db | airbyte-db | 2025-07-10 142449.201 UTC [1] LOG: starting PostgreSQL 13.15 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit airbyte-db | 2025-07-10 142449.201 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 airbyte-db | 2025-07-10 142449.201 UTC [1] LOG: listening on IPv6 address "::", port 5432 airbyte-db | 2025-07-10 142449.206 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" airbyte-db | 2025-07-10 142449.212 UTC [26] LOG: database system was shut down at 2025-07-10 142422 UTC airbyte-db | 2025-07-10 142449.224 UTC [1] LOG: database system is ready to accept connections airbyte-db | 2025-07-10 142449.976 UTC [34] ERROR: database "temporal" already exists airbyte-db | 2025-07-10 142449.976 UTC [34] STATEMENT: CREATE DATABASE "temporal" airbyte-db | 2025-07-10 142450.113 UTC [36] ERROR: database "temporal_visibility" already exists airbyte-db | 2025-07-10 142450.113 UTC [36] STATEMENT: CREATE DATABASE "temporal_visibility" airbyte-db | 2025-07-10 142450.775 UTC [51] ERROR: duplicate key value violates unique constraint "namespaces_pkey" airbyte-db | 2025-07-10 142450.775 UTC [51] DETAIL: Key (partition_id, id)=(54321, \x32049b68787240948e63d0dd59896a83) already exists. airbyte-db | 2025-07-10 142450.775 UTC [51] STATEMENT: INSERT INTO airbyte-db | namespaces (partition_id, id, name, is_global, data, data_encoding, notification_version) airbyte-db | VALUES($1, $2, $3, $4, $5, $6, $7)
@kapa.ai It seems our db keeps on exiting? airbyte-db | airbyte-db | PostgreSQL Database directory appears to contain a database; Skipping initialization airbyte-db | airbyte-db | 2025-07-10 142449.201 UTC [1] LOG: starting PostgreSQL 13.15 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit airbyte-db | 2025-07-10 142449.201 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 airbyte-db | 2025-07-10 142449.201 UTC [1] LOG: listening on IPv6 address "::", port 5432 airbyte-db | 2025-07-10 142449.206 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" airbyte-db | 2025-07-10 142449.212 UTC [26] LOG: database system was shut down at 2025-07-10 142422 UTC airbyte-db | 2025-07-10 142449.224 UTC [1] LOG: database system is ready to accept connections airbyte-db | 2025-07-10 142449.976 UTC [34] ERROR: database "temporal" already exists airbyte-db | 2025-07-10 142449.976 UTC [34] STATEMENT: CREATE DATABASE "temporal" airbyte-db | 2025-07-10 142450.113 UTC [36] ERROR: database "temporal_visibility" already exists airbyte-db | 2025-07-10 142450.113 UTC [36] STATEMENT: CREATE DATABASE "temporal_visibility" airbyte-db | 2025-07-10 142450.775 UTC [51] ERROR: duplicate key value violates unique constraint "namespaces_pkey" airbyte-db | 2025-07-10 142450.775 UTC [51] DETAIL: Key (partition_id, id)=(54321, \x32049b68787240948e63d0dd59896a83) already exists. airbyte-db | 2025-07-10 142450.775 UTC [51] STATEMENT: INSERT INTO airbyte-db | namespaces (partition_id, id, name, is_global, data, data_encoding, notification_version) airbyte-db | VALUES($1, $2, $3, $4, $5, $6, $7)
k
A message from kapa.ai
Your logs show that the Airbyte database container (
airbyte-db
) is repeatedly encountering errors related to the creation of the
temporal
and
temporal_visibility
databases, as well as duplicate key violations in the
namespaces
table. Specifically: -
Copy code
ERROR:  database "temporal" already exists   STATEMENT:  CREATE DATABASE "temporal"   ERROR:  database "temporal_visibility" already exists   STATEMENT:  CREATE DATABASE "temporal_visibility"   ERROR:  duplicate key value violates unique constraint "namespaces_pkey"
This pattern matches known issues when: - The databases (
temporal
,
temporal_visibility
) already exist, but Airbyte (or Temporal) tries to create them again. - There are attempts to insert duplicate records into tables that already have those records, often after a failed or partial migration or restore. What’s happening? - Airbyte’s initialization scripts (or Temporal’s auto-setup) are not idempotent regarding database creation. If the databases already exist, these scripts will fail with the errors you see. - The duplicate key error in the
namespaces
table suggests that the initialization is being retried, but the data already exists, causing the process to fail again. What can you do? - This is a common scenario when databases are pre-created or restored from a backup, and then Airbyte/Temporal tries to initialize them again. The knowledge sources recommend that if you are using pre-created databases, you should ensure that the initialization scripts are not re-run, or that the environment variables (such as
SKIP_DB_CREATE
or
SKIP_SCHEMA_SETUP
) are set to skip database creation and schema setup steps [Forum: Kubernetes: temporal: Cannot start with empty DBs already created](https://discuss.airbyte.io/t/4432) [Forum: "Unable to create SQL database." when trying to connect to an external database](https://discuss.airbyte.io/t/1544). - If you are running Airbyte with Docker Compose or Kubernetes, check your configuration for these environment variables and set them appropriately to avoid re-creating existing databases. - If the error persists, you may need to clean up the existing databases or ensure that the initialization scripts are only run once, as repeated attempts can cause these duplicate key errors. Summary: Your database is not starting properly because Airbyte/Temporal is trying to create databases and insert records that already exist. Set the appropriate environment variables to skip database and schema creation if the databases are already present, and ensure that initialization scripts are not re-run on existing data [Forum: "Unable to create SQL database." when trying to connect to an external database](https://discuss.airbyte.io/t/1544) [Forum: Kubernetes: temporal: Cannot start with empty DBs already created](https://discuss.airbyte.io/t/4432). If you need more specific guidance, please share your deployment method (Docker Compose, Kubernetes, etc.) and relevant configuration files.
j
@kapa.ai We are still using docker-compose. Do you want temporal worker logs or is the docker-compose yaml enough for you to assist me?
k
A message from kapa.ai
Thank you for clarifying that you are using Docker Compose. To assist you effectively with the issue where your database keeps exiting and syncs are not starting, the most helpful next step would be to provide the logs from your Temporal worker container. While the
docker-compose.yaml
file is useful for understanding your configuration, the Temporal worker logs will give direct insight into what is failing at runtime—especially since issues with job orchestration and database initialization are often surfaced there. This approach is also reflected in community troubleshooting, where users are asked to share Temporal logs to diagnose similar problems [Error installing/deploying airbyte | trying to create an HTTP API Source](https://discuss.airbyte.io/t/1158). Please provide the Temporal worker logs (you can get them with
docker-compose logs airbyte-temporal
or similar, depending on your service name). If you encounter errors in the logs, sharing those specific error messages will help pinpoint the root cause and guide you to a solution.
j
@kapa.ai We get thousands of these logs: airbyte-temporal | {"level":"info","ts":"2025-07-11T034332.516Z","msg":"Fail query fast due to WorkflowTask in failed state.","shard-id":2,"address":"192.168.16.2:7234","wf-namespace":"default","wf-namespace-id":"b82a281d-e719-4a85-a13a-6ab2d96ee4fc","wf-id":"connection_manager_6c7a0ce2-5254-405e-ae65-90d13266b840","wf-run-id":"6b3648f2-df92-48ad-bbdf-c45b69213a6b","logging-call-at":"api.go:135"} airbyte-temporal | {"level":"info","ts":"2025-07-11T034332.534Z","msg":"Fail query fast due to WorkflowTask in failed state.","shard-id":2,"address":"192.168.16.2:7234","wf-namespace":"default","wf-namespace-id":"b82a281d-e719-4a85-a13a-6ab2d96ee4fc","wf-id":"connection_manager_6c7a0ce2-5254-405e-ae65-90d13266b840","wf-run-id":"6b3648f2-df92-48ad-bbdf-c45b69213a6b","logging-call-at":"api.go:135"} airbyte-temporal | {"level":"info","ts":"2025-07-11T034332.552Z","msg":"Fail query fast due to WorkflowTask in failed state.","shard-id":2,"address":"192.168.16.2:7234","wf-namespace":"default","wf-namespace-id":"b82a281d-e719-4a85-a13a-6ab2d96ee4fc","wf-id":"connection_manager_6c7a0ce2-5254-405e-ae65-90d13266b840","wf-run-id":"6b3648f2-df92-48ad-bbdf-c45b69213a6b","logging-call-at":"api.go:135"} Version is 63.8.
k
A message from kapa.ai
The log message:
Copy code
"Fail query fast due to WorkflowTask in failed state."
indicates that Temporal is quickly rejecting queries because the associated workflow task is in a failed state. This is a known issue that can occur when a workflow (such as a sync job in Airbyte) encounters an error and gets stuck in a failed state, causing repeated failed queries and log spam. From the knowledge sources, similar issues have been reported where sync jobs hang or fail to start, and the Temporal logs show repeated errors or warnings related to workflow tasks being in a failed or stuck state. For example, users have seen logs about workflow task processing failures and workflows being stuck, which can lead to the system being unresponsive or unable to start new syncs [Sync job hangs for days](https://github.com/airbytehq/airbyte/issues/38345) [[platform] Upgrading to v0.63.2 results in continuous failures for all sync jobs](https://github.com/airbytehq/airbyte/issues/40546). What does this mean for your deployment? - The affected workflow (likely a sync or connection manager workflow) is in a failed state and cannot process further queries. - This can result in syncs not starting or jobs hanging, as you described earlier. - The repeated log entries are a symptom of the underlying workflow failure, not the root cause. What can you do? - Restarting Airbyte and Temporal may temporarily clear the issue, but if the underlying cause (such as a corrupted workflow state or database issue) is not resolved, it may recur. - In some cases, users have resolved similar issues by resetting the affected connection or deleting and recreating it, which forces Temporal to start a new workflow for that connection. - If the problem persists across multiple connections or after restarts, it may indicate a deeper issue with the Temporal database or Airbyte's orchestration logic, especially after upgrades or migrations. Summary: The logs indicate that Temporal workflows are stuck in a failed state, which is preventing syncs from running. This is a known issue in Airbyte when workflows become corrupted or fail and are not properly cleaned up. Restarting services or resetting connections may help, but if the issue persists, further investigation into the Temporal database and workflow state is needed. The knowledge sources do not provide a definitive fix, but similar symptoms have been reported by other users [Sync job hangs for days](https://github.com/airbytehq/airbyte/issues/38345) [[platform] Upgrading to v0.63.2 results in continuous failures for all sync jobs](https://github.com/airbytehq/airbyte/issues/40546).
j
@kapa.ai We have built a new server in gke. Version 1.7. I created a source which passes the setup test. Built a bigquery destination, which passes the test. When I try make a connection however: Discovering schema failed The discover catalog failed due to an internal error for source: e3cfea91-0154-41c8-ad66-30a4b55342eb Internal message: Unexpected error performing DISCOVER. The exit of the connector was: 0 Failure origin: source io.airbyte.workers.exception.WorkerException: Unexpected error performing DISCOVER. The exit of the connector was: 0 at io.airbyte.connectorSidecar.ConnectorMessageProcessor.run(ConnectorMessageProcessor.kt:95) at io.airbyte.connectorSidecar.ConnectorWatcher.processConnectorOutput(ConnectorWatcher.kt:138) at io.airbyte.connectorSidecar.ConnectorWatcher.run(ConnectorWatcher.kt:79) at io.airbyte.connectorSidecar.$ConnectorWatcher$Definition.initialize(Unknown Source) at io.airbyte.connectorSidecar.$ConnectorWatcher$Definition.instantiate(Unknown Source) at io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2334) at io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2304) at io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2316) at io.micronaut.context.DefaultBeanContext.createRegistration(DefaultBeanContext.java:3127) at io.micronaut.context.SingletonScope.getOrCreate(SingletonScope.java:80) at io.micronaut.context.DefaultBeanContext.findOrCreateSingletonBeanRegistration(DefaultBeanContext.java:3029) at io.micronaut.context.DefaultBeanContext.initializeEagerBean(DefaultBeanContext.java:2702) at io.micronaut.context.DefaultBeanContext.initializeContext(DefaultBeanContext.java:1994) at io.micronaut.context.DefaultApplicationContext.initializeContext(DefaultApplicationContext.java:314) at io.micronaut.context.DefaultBeanContext.configureAndStartContext(DefaultBeanContext.java:3318) at io.micronaut.context.DefaultBeanContext.start(DefaultBeanContext.java:345) at io.micronaut.context.DefaultApplicationContext.start(DefaultApplicationContext.java:216) at io.micronaut.runtime.Micronaut.start(Micronaut.java:75) at io.airbyte.connectorSidecar.ApplicationKt.main(Application.kt:18) at io.airbyte.connectorSidecar.ApplicationKt.main(Application.kt)
k
A message from kapa.ai
The error message you’re seeing: > Discovering schema failed > The discover catalog failed due to an internal error for source: ... > Internal message: Unexpected error performing DISCOVER. The exit of the connector was: 0 > Failure origin: source is a generic schema discovery failure that has been reported in multiple Airbyte deployments, including recent versions and Kubernetes (GKE) environments. The logs you provided match known issues where the connector exits with code 0, but the schema discovery still fails due to an internal error in the source connector or orchestration layer. What the knowledge sources indicate: - This type of error is often seen when there is a problem with the connector’s ability to fetch the schema, but the underlying cause is not always clear from the exit code alone. It can be related to resource limits, misconfiguration, or issues with the connector image itself [Discovery schema failed](https://github.com/airbytehq/airbyte/issues/38927). - In some cases, users have reported similar errors after upgrading Airbyte or deploying on Kubernetes, and the root cause ranged from database issues, connector bugs, to missing permissions or network problems [Redshift Source Discovering schema failed](https://discuss.airbyte.io/t/2979) [Postgres 0.4.4 discover schema detection failure](https://discuss.airbyte.io/t/484). - There is no single fix documented in the knowledge sources for this error, and the logs do not provide a specific root cause. Recommended next steps based on the knowledge sources: 1. Check the connector logs for more detailed error messages. The error you posted is from the orchestration layer; the actual connector logs (from the relevant pod or container) may provide more insight. 2. Verify resource limits (CPU/memory) for your connector pods in GKE, as out-of-memory or resource exhaustion can cause connectors to exit unexpectedly [source-microsoft-dataverse fails at schema discovery (out of memory?)](https://github.com/airbytehq/airbyte/issues/52678). 3. Ensure network and permissions are correctly set up so the source connector can access the data source. 4. Try a different connector version if possible, as some schema discovery failures have been resolved by downgrading or upgrading the connector [[source-mongodb] Discovering schema failed when creating new connection](https://github.com/airbytehq/airbyte/issues/31338). 5. Restart the affected pods or the Airbyte deployment, as transient issues can sometimes be resolved this way. If after these steps the issue persists, you may need to open a detailed issue with connector logs for further investigation, as the knowledge sources do not provide a definitive solution for this specific error pattern.
j
Okay @kapa.ai but even the logs arent really saying anything or am i reading wrong: 2025-07-15 101749 info 2025-07-15 101749 info ----- START DISCOVER ----- 2025-07-15 101749 info 2025-07-15 101800 info Connector exited, processing output 2025-07-15 101800 info Output file jobOutput.json found 2025-07-15 101800 info Connector exited with exit code 0 2025-07-15 101800 info Reading messages from protocol version 0.2.0 2025-07-15 101800 info Checking for optional control message... 2025-07-15 101800 info Writing catalog result to API... 2025-07-15 101800 error Error performing operation: io.airbyte.workers.exception.WorkerException 2025-07-15 101801 info Failing workload 7d6787f7-163b-454a-983d-e41985c2e9fd_1a185b87-6d1a-4196-a342-55df9420dcb4_0_discover. 2025-07-15 101801 info Deliberately exiting process with code 1.
k
A message from kapa.ai
You're reading the logs correctly—unfortunately, this pattern (connector exits with code 0, but the schema discovery still fails with a
WorkerException
) is documented in the knowledge sources, and the logs often do not provide a clear root cause. This is a known issue in Airbyte, especially in recent versions and Kubernetes deployments. The knowledge sources confirm that: - The connector process appears to complete successfully (
exit code 0
), and the output file is found. - However, when Airbyte tries to process the output and write the catalog result to the API, it encounters an internal error and fails the workload. - This results in a generic error message, and the logs do not always include a specific reason for the failure [Discovery schema failed](https://github.com/airbytehq/airbyte/issues/38927) [🐛 Airbyte Core: Large schema fetching failure](https://github.com/airbytehq/airbyte/issues/4564). What does this mean? - The error is likely happening during the step where Airbyte reads and processes the connector's output, not during the connector's execution itself. - The knowledge sources do not provide a definitive fix or root cause for this pattern, and acknowledge that the logs can be unhelpful in these cases. Next steps (based on knowledge sources): - Double-check that your Airbyte deployment and all connectors are running compatible, up-to-date versions. - If possible, try a different version of the connector, as some users have found that downgrading or upgrading resolves the issue [[source-mongodb] Discovering schema failed when creating new connection](https://github.com/airbytehq/airbyte/issues/31338). - If the problem persists, the knowledge sources recommend opening a GitHub issue with as much detail as possible, since this may require investigation by the Airbyte team. I'm sorry, but the knowledge sources do not contain enough information to provide a specific solution for this error pattern. This is a recognized issue, and further troubleshooting may require direct support from the Airbyte maintainers.
j
@kapa.ai I tried setting up logs in my custom connector. The sync job completes. But no logs are showing up. paginator: type: DefaultPaginator log_request: true log_response: true error_handler: type: DefaultErrorHandler action: IGNORE stop_condition: type: CompositeStopCondition conditions: - type: HttpStatusPredicate stop_status_codes: - 404 - type: JmespathPredicate expression: body.data ==
[]
- type: JmespathPredicate expression: body.current_page * body.per_page >= body.total response_filters: - type: HttpResponseFilter http_codes: - 404 page_token_option: type: RequestOption field_name: page inject_into: request_parameter pagination_strategy: type: PageIncrement start_from_page: 1 snippet from the connector.
k
A message from kapa.ai
Based on the knowledge sources, there is currently no official documentation or support for
log_request
and
log_response
options in the paginator configuration
for Airbyte's low-code or declarative connectors. The knowledge sources do not mention these options as valid or supported fields in the paginator configuration, nor do they describe a way to enable request/response logging directly from the YAML for custom connectors. If you want to log HTTP requests and responses for debugging purposes, the recommended approach is to enable debug-level logging for the connector or the Airbyte platform. According to the Airbyte team, the Python CDK already supports debug-level logging by setting the
DEBUG=true
environment variable, and there have been discussions about adding more granular logging options in the future. For now, enabling debug logging at the platform or connector level is the suggested method [log http calls to api](https://github.com/airbytehq/airbyte/issues/52077). Summary: - The
log_request
and
log_response
options in your paginator configuration are not documented or supported in the official Airbyte knowledge sources. - To log HTTP requests and responses, use debug-level logging by setting the appropriate environment variable (e.g.,
DEBUG=true
). - If you need more granular logging, you may need to implement it in your custom connector code or use external tools (such as a proxy) as a workaround. I'm sorry, but the knowledge sources do not contain enough information to confirm that your YAML configuration will enable request/response logging in Airbyte.