{"record":{"id":"25eb281471b2b0b9","repo":"goharbor/harbor","slug":"bearer-auth-scheme-isn-t-supported-v","errorCode":null,"errorMessage":"bearer auth scheme isn't supported: %v","messagePattern":"bearer auth scheme isn't supported: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/pkg/reg/adapter/volcenginecr/helper.go","lineNumber":72,"sourceCode":"\t\tTransport: util.GetHTTPTransport(insecure, caCert),\n\t\tTimeout:   config.RegistryHTTPClientTimeout(),\n\t}\n\n\t// Allow tests to override the host (e.g., inject mock server URL) via resolveHost\n\thost = resolveHost(host)\n\n\tresp, err := client.Get(host + \"/v2/\")\n\tif err != nil {\n\t\treturn \"\", \"\", err\n\t}\n\tdefer resp.Body.Close() // nolint\n\tchallenges := challenge.ResponseChallenges(resp)\n\tfor _, challenge := range challenges {\n\t\tif challenge.Scheme == \"bearer\" {\n\t\t\treturn challenge.Parameters[\"realm\"], challenge.Parameters[\"service\"], nil\n\t\t}\n\t}\n\treturn \"\", \"\", fmt.Errorf(\"bearer auth scheme isn't supported: %v\", challenges)\n}\n","sourceCodeStart":54,"sourceCodeEnd":74,"githubUrl":"https://github.com/goharbor/harbor/blob/7b2fd08cc568955cca339afeefab27372840d936/src/pkg/reg/adapter/volcenginecr/helper.go#L54-L74","documentation":"Error \"bearer auth scheme isn't supported: %v\" thrown in goharbor/harbor.","triggerScenarios":"Thrown at src/pkg/reg/adapter/volcenginecr/helper.go:72 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":"7b2fd08cc568955cca339afeefab27372840d936","analyzedAt":"2026-08-16T00:00:10.961Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}