<@U04SE163WC8> ```{ "message": "Internal Serve...
# ask-ai
k
@kapa.ai
Copy code
{
  "message": "Internal Server Error: Catalog contains duplicate stream names: null.documents",
  "exceptionClassName": "java.lang.IllegalArgumentException",
  "exceptionStack": [
    "java.lang.IllegalArgumentException: Catalog contains duplicate stream names: null.documents",
    "\tat io.airbyte.commons.converters.ConnectionHelper.validateCatalogDoesntContainDuplicateStreamNames(ConnectionHelper.java:193)",
    "\tat io.airbyte.commons.server.handlers.ConnectionsHandler.createConnection(ConnectionsHandler.java:560)",
    "\tat io.airbyte.commons.server.handlers.WebBackendConnectionsHandler.webBackendCreateConnection(WebBackendConnectionsHandler.java:599)",
    "\tat io.airbyte.server.apis.WebBackendApiController.lambda$webBackendCreateConnection$1(WebBackendApiController.java:88)",
    "\tat io.airbyte.server.apis.ApiHelper.execute(ApiHelper.java:28)",
    "\tat io.airbyte.server.apis.WebBackendApiController.webBackendCreateConnection(WebBackendApiController.java:86)",
    "\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:4350)",
    "\tat io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:272)",
    "\tat io.micronaut.web.router.DefaultUriRouteMatch.execute(DefaultUriRouteMatch.java:38)",
    "\tat io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:498)",
    "\tat io.micronaut.http.server.RouteExecutor.lambda$callRoute$5(RouteExecutor.java:475)",
    "\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)"
  ],
  "rootCauseExceptionStack": []
}
u
The error message you're seeing indicates that your catalog contains duplicate stream names, specifically "null.documents". This is not allowed in Airbyte and is causing the
IllegalArgumentException
. The error stack trace shows that the exception is thrown by the
validateCatalogDoesntContainDuplicateStreamNames
method in the
ConnectionHelper
class. This method is called when creating a connection, as seen in the
createConnection
method of the
ConnectionsHandler
class. To resolve this issue, you should check your catalog configuration and ensure that each stream has a unique name. If you're using a source connector that automatically generates the catalog, you might need to check the data in the source system or the configuration of the source connector. Unfortunately, without more information about your specific setup (e.g., which connectors you're using, how your catalog is configured), it's hard to provide more specific advice. If you continue to experience this issue, I would recommend opening a new issue in the [Airbyte GitHub repository](https://github.com/airbytehq/airbyte/issues) with more details about your setup.