googleapis/mcp-toolbox · error

unable to parse arcade uri %q: %w

Error message

unable to parse arcade uri %q: %w

What it means

Error "unable to parse arcade uri %q: %w" thrown in googleapis/mcp-toolbox.

Source

Thrown at internal/sources/arcadedb/arcadedb.go:296

			childNode, childIncomplete, childOperatorCount := buildPlanNode(child)
			childNodes = append(childNodes, childNode)
			if childIncomplete {
				incomplete = true
			}
			operatorCount += childOperatorCount
		}
		node["children"] = childNodes
	}

	return node, incomplete, operatorCount
}

func (s *Source) arcadeHTTPEndpointURL(endpoint string) (string, error) {
	base := s.HTTPUri
	if base == "" {
		parsed, err := url.Parse(s.Uri)
		if err != nil {
			return "", fmt.Errorf("unable to parse arcade uri %q: %w", s.Uri, err)
		}
		host := parsed.Hostname()
		if host == "" {
			return "", fmt.Errorf("unable to parse host from arcade uri %q", s.Uri)
		}
		scheme := s.HTTPScheme
		if scheme == "" {
			scheme = "http"
		}
		port := s.HTTPPort
		if port == 0 {
			port = 2480
		}
		base = fmt.Sprintf("%s://%s:%d", scheme, host, port)
	}
	return fmt.Sprintf("%s/api/v1/%s/%s",
		strings.TrimRight(base, "/"),
		endpoint,

View on GitHub (pinned to 8cc6e09de2)

When it happens

Trigger: Thrown at internal/sources/arcadedb/arcadedb.go:296 when the library encounters an invalid state.

Common situations: See trigger scenarios.

Understand the failure class


AI-assisted analysis of googleapis/mcp-toolbox@8cc6e09de2 (2026-09-05). Data as JSON: /api/errors/ca31ee339e294658. Report an issue: GitHub.