temporalio/temporal · error
url query not percent-encoded: %s
Error message
url query not percent-encoded: %s
What it means
Error "url query not percent-encoded: %s" thrown in temporalio/temporal.
Source
Thrown at common/nexus/nexusrpc/api.go:237
}
if !typeKeyFound {
return link, fmt.Errorf(
"failed to parse link header: %q key not found: %s",
linkTypeKey,
encodedLink,
)
}
return link, nil
}
func validateLinkURL(value *url.URL) error {
if value == nil || value.String() == "" {
return errors.New("url is empty")
}
_, err := url.ParseQuery(value.RawQuery)
if err != nil {
return fmt.Errorf("url query not percent-encoded: %s", value)
}
return nil
}
func validateLinkType(value string) error {
if len(value) == 0 {
return errors.New("link type is empty")
}
for _, c := range value {
if (c < 'a' || c > 'z') && (c < 'A' || c > 'Z') && (c < '0' || c > '9') && c != '_' && c != '.' && c != '/' {
return errors.New("link type contains invalid char (valid chars: alphanumeric, '_', '.', '/')")
}
}
return nil
}
var durationRegexp = regexp.MustCompile(`^(\d+(?:\.\d+)?)(ms|s|m)$`)
View on GitHub (pinned to bde624efd1)
When it happens
Trigger: Thrown at common/nexus/nexusrpc/api.go:237 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of temporalio/temporal@bde624efd1 (2026-09-01).
Data as JSON: /api/errors/ecb23aa30ebecaec.
Report an issue: GitHub.