{"record":{"id":"05a6c13b0ff49aad","repo":"googleapis/mcp-toolbox","slug":"unable-to-create-connection-driver-w-05a6c1","errorCode":null,"errorMessage":"unable to create connection driver: %w","messagePattern":"unable to create connection driver: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/sources/neo4j/neo4j.go","lineNumber":202,"sourceCode":"\t}\n\treturn children\n}\n\nfunc initNeo4jDriver(ctx context.Context, tracer trace.Tracer, uri, user, password, name string) (neo4j.Driver, error) {\n\t//nolint:all // Reassigned ctx\n\tctx, span := sources.InitConnectionSpan(ctx, tracer, SourceType, name)\n\tdefer span.End()\n\n\tauth := neo4j.BasicAuth(user, password, \"\")\n\tuserAgent, err := util.UserAgentFromContext(ctx)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tdriver, err := neo4j.NewDriver(uri, auth, func(config *neo4jconf.Config) {\n\t\tconfig.UserAgent = userAgent\n\t})\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"unable to create connection driver: %w\", err)\n\t}\n\treturn driver, nil\n}\n","sourceCodeStart":184,"sourceCodeEnd":206,"githubUrl":"https://github.com/googleapis/mcp-toolbox/blob/8cc6e09de2ad7b8bffc77751799585a1401a48eb/internal/sources/neo4j/neo4j.go#L184-L206","documentation":"Error \"unable to create connection driver: %w\" thrown in googleapis/mcp-toolbox.","triggerScenarios":"Thrown at internal/sources/neo4j/neo4j.go:202 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8cc6e09de2ad7b8bffc77751799585a1401a48eb","analyzedAt":"2026-09-05T01:10:36.887Z","contentChangedAt":"2026-09-05T01:10:36.887Z","schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}