Facing issue after upgrading Airbyte to latest version

Summary

Encountering HTTP 500 error after updating Airbyte from version 0.40.32 to v0.58.0 when clicking on a specific connection (WTRS Bulk → TalentLMS). Error details show an unexpected error occurred with a stack trace pointing to CatalogConverter and ConnectionsHandler.


Question

Hi Community,
I am facing an issue after upgrading Airbyte to the latest version. Could anyone advise me on how to resolve it?
I have updated Airbyte from version 0.40.32 to v0.58.0. However, after the update, I started encountering errors when clicking on my Airbyte connection.
(I also have a second TalentLMS Source → Postgres connection, and the sync is working fine with it.)
This issue is occurring with one specific connection: WTRS Bulk → TalentLMS.
Error:
Sorry, something went wrong.
An unexpected error occurred. Please report this if the issue persists. (HTTP 500)
Error details
“\tat io.airbyte.commons.server.handlers.helpers.CatalogConverter.ensureCompatibleDestinationSyncMode(CatalogConverter.java:402)”,
“\tat io.airbyte.commons.server.handlers.ConnectionsHandler.lambda$getConnectionAirbyteCatalog$3(ConnectionsHandler.java:815)”,
“\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1596)”,
“\tat io.airbyte.commons.server.handlers.ConnectionsHandler.getConnectionAirbyteCatalog(ConnectionsHandler.java:814)”,
“\tat io.airbyte.commons.server.handlers.WebBackendConnectionsHandler.webBackendGetConnection(WebBackendConnectionsHandler.java:371)”,
“\tat io.airbyte.server.apis.WebBackendApiController.lambda$webBackendGetConnection$2(WebBackendApiController.java:107)”,
“\tat io.airbyte.server.apis.ApiHelper.execute(ApiHelper.java:28)”,
“\tat io.airbyte.server.apis.WebBackendApiController.webBackendGetConnection(WebBackendApiController.java:97)”,
“\tat io.airbyte.server.apis.$WebBackendApiController$Definition$Exec.dispatch(Unknown Source)”,
“\tat io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461)”,
“\tat io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4232)”,
“\tat io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:271)”,
“\tat io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:488)”,
“\tat io.micronaut.http.server.RouteExecutor.lambda$callRoute$6(RouteExecutor.java:465)”,
“\tat io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87)”,
“\tat io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211)”,
“\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)”,
“\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)”,
“\tat java.base/java.lang.Thread.run(Thread.java:1583)”
]
}
}

Stack trace:
{
“url”: “https://elms-airbyte.qa.exadel.dev/workspaces/3a7a7516-d26d-4151-95bc-bfaf1073f0f9/connections/3927a04c-b129-475b-9ac2-271111256048”,
“airbyteVersion”: “0.58.0”,
“errorType”: “HttpError”,
“errorConstructor”: “Wd”,
“error”: {
“i18nKey”: “errors.http.internalServerError”,
“i18nParams”: {
“status”: 500
},
“name”: “HttpError”,
“requestId”: “cD1skdoVf3Qu4HgMP8RaXy”,
“request”: {
“url”: “/api/v1/web_backend/connections/get”,
“method”: “post”,
“headers”: {
“Content-Type”: “application/json”
},
“data”: {
“connectionId”: “3927a04c-b129-475b-9ac2-271111256048”,
“withRefreshedCatalog”: false
}
},
“status”: 500,
“response”: {
“message”: “Internal Server Error: Index 0 out of bounds for length 0”,
“exceptionClassName”: “java.lang.IndexOutOfBoundsException”,
“exceptionStack”: [
“java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0”,
“\tat java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)”,
“\tat java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)”,
“\tat java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)”,
“\tat java.base/java.util.Objects.checkIndex(Objects.java:385)”,
“\tat java.base/java.util.ArrayList.get(ArrayList.java:427)”,
“\tat io.airbyte.commons.server.handlers.helpers.CatalogConverter.ensureCompatibleDestinationSyncMode(CatalogConverter.java:402)”,
“\tat io.airbyte.commons.server.handlers.ConnectionsHandler.lambda$getConnectionAirbyteCatalog$3(ConnectionsHandler.java:815)”,
“\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1596)”,
“\tat io.airbyte.commons.server.handlers.ConnectionsHandler.getConnectionAirbyteCatalog(ConnectionsHandler.java:814)”,
“\tat io.airbyte.commons.server.handlers.WebBackendConnectionsHandler.webBackendGetConnection(WebBackendConnectionsHandler.java:371)”,
“\tat io.airbyte.server.apis.WebBackendApiController.lambda$webBackendGetConnection$2(WebBackendApiController.java:107)”,
“\tat io.airbyte.server.apis.ApiHelper.execute(ApiHelper.java:28)”,
“\tat io.airbyte.server.apis.WebBackendApiController.webBackendGetConnection(WebBackendApiController.java:97)”,
“\tat io.airbyte.server.apis.$WebBackendApiController$Definition$Exec.dispatch(Unknown Source)”,
“\tat io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461)”,
“\tat io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4232)”,
“\tat io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:271)”,
“\tat io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:488)”,
“\tat io.micronaut.http.server.RouteExecutor.lambda$callRoute$6(RouteExecutor.java:465)”,
“\tat io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87)”,
“\tat io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211)”,
“\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)”,
“\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)”,
“\tat java.base/java.lang.Thread.run(Thread.java:1583)”
]
}
},
“stacktrace”: “HttpError: errors.http.internalServerError\n at jie (https://elms-airbyte.qa.exadel.dev/assets/WorkspaceAccessManagementSection-ZHhWDQBb.js:69:7330)”,
“userAgent”: “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36”,
“featureFlags”: {}
}



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want to access the original thread.

Join the conversation on Slack

["upgrade", "airbyte", "http-500-error", "specific-connection", "catalogconverter", "connectionshandler"]