{"record":{"id":"51184344dcf8ac88","repo":"googleapis/mcp-toolbox","slug":"unable-to-parse-host-from-arcade-uri-q","errorCode":null,"errorMessage":"unable to parse host from arcade uri %q","messagePattern":"unable to parse host from arcade uri %q","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/sources/arcadedb/arcadedb.go","lineNumber":300,"sourceCode":"\t\t\t}\n\t\t\toperatorCount += childOperatorCount\n\t\t}\n\t\tnode[\"children\"] = childNodes\n\t}\n\n\treturn node, incomplete, operatorCount\n}\n\nfunc (s *Source) arcadeHTTPEndpointURL(endpoint string) (string, error) {\n\tbase := s.HTTPUri\n\tif base == \"\" {\n\t\tparsed, err := url.Parse(s.Uri)\n\t\tif err != nil {\n\t\t\treturn \"\", fmt.Errorf(\"unable to parse arcade uri %q: %w\", s.Uri, err)\n\t\t}\n\t\thost := parsed.Hostname()\n\t\tif host == \"\" {\n\t\t\treturn \"\", fmt.Errorf(\"unable to parse host from arcade uri %q\", s.Uri)\n\t\t}\n\t\tscheme := s.HTTPScheme\n\t\tif scheme == \"\" {\n\t\t\tscheme = \"http\"\n\t\t}\n\t\tport := s.HTTPPort\n\t\tif port == 0 {\n\t\t\tport = 2480\n\t\t}\n\t\tbase = fmt.Sprintf(\"%s://%s:%d\", scheme, host, port)\n\t}\n\treturn fmt.Sprintf(\"%s/api/v1/%s/%s\",\n\t\tstrings.TrimRight(base, \"/\"),\n\t\tendpoint,\n\t\turl.PathEscape(s.ArcadeDBDatabase())), nil\n}\n\nfunc initArcadeDBDriver(ctx context.Context, tracer trace.Tracer, uri, user, password, name string) (neo4j.Driver, error) {","sourceCodeStart":282,"sourceCodeEnd":318,"githubUrl":"https://github.com/googleapis/mcp-toolbox/blob/8cc6e09de2ad7b8bffc77751799585a1401a48eb/internal/sources/arcadedb/arcadedb.go#L282-L318","documentation":"Error \"unable to parse host from arcade uri %q\" thrown in googleapis/mcp-toolbox.","triggerScenarios":"Thrown at internal/sources/arcadedb/arcadedb.go:300 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"}