{"record":{"id":"fd416c1f3d3d1ac0","repo":"googleapis/mcp-toolbox","slug":"failed-to-verify-alloweddicomfhirstore-s-in-dat","errorCode":null,"errorMessage":"failed to verify allowedDicomFhirStore '%s' in datasest '%s': %w","messagePattern":"failed to verify allowedDicomFhirStore '(.+?)' in datasest '(.+?)': %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/sources/cloudhealthcare/cloud_healthcare.go","lineNumber":130,"sourceCode":"\t\tname := fmt.Sprintf(\"%s/fhirStores/%s\", dsName, store)\n\t\t_, err := svc.Projects.Locations.Datasets.FhirStores.Get(name).Do()\n\t\tif err != nil {\n\t\t\tif gerr, ok := err.(*googleapi.Error); ok && gerr.Code == http.StatusNotFound {\n\t\t\t\treturn nil, fmt.Errorf(\"allowedFhirStore '%s' not found in dataset '%s'\", store, dsName)\n\t\t\t}\n\t\t\treturn nil, fmt.Errorf(\"failed to verify allowedFhirStore '%s' in datasest '%s': %w\", store, dsName, err)\n\t\t}\n\t\tallowedFHIRStores[store] = struct{}{}\n\t}\n\tallowedDICOMStores := make(map[string]struct{})\n\tfor _, store := range c.AllowedDICOMStores {\n\t\tname := fmt.Sprintf(\"%s/dicomStores/%s\", dsName, store)\n\t\t_, err := svc.Projects.Locations.Datasets.DicomStores.Get(name).Do()\n\t\tif err != nil {\n\t\t\tif gerr, ok := err.(*googleapi.Error); ok && gerr.Code == http.StatusNotFound {\n\t\t\t\treturn nil, fmt.Errorf(\"allowedDicomStore '%s' not found in dataset '%s'\", store, dsName)\n\t\t\t}\n\t\t\treturn nil, fmt.Errorf(\"failed to verify allowedDicomFhirStore '%s' in datasest '%s': %w\", store, dsName, err)\n\t\t}\n\t\tallowedDICOMStores[store] = struct{}{}\n\t}\n\ts := &Source{\n\t\tConfig:             c,\n\t\tservice:            service,\n\t\tserviceCreator:     serviceCreator,\n\t\ttokenSource:        tokenSource,\n\t\tallowedFHIRStores:  allowedFHIRStores,\n\t\tallowedDICOMStores: allowedDICOMStores,\n\t}\n\treturn s, nil\n}\n\nfunc newHealthcareServiceCreator(ctx context.Context, tracer trace.Tracer, name string) (func(string) (*healthcare.Service, error), error) {\n\tuserAgent, err := util.UserAgentFromContext(ctx)\n\tif err != nil {\n\t\treturn nil, err","sourceCodeStart":112,"sourceCodeEnd":148,"githubUrl":"https://github.com/googleapis/mcp-toolbox/blob/8cc6e09de2ad7b8bffc77751799585a1401a48eb/internal/sources/cloudhealthcare/cloud_healthcare.go#L112-L148","documentation":"Error \"failed to verify allowedDicomFhirStore '%s' in datasest '%s': %w\" thrown in googleapis/mcp-toolbox.","triggerScenarios":"Thrown at internal/sources/cloudhealthcare/cloud_healthcare.go:130 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"}