{"record":{"id":"6690527557739bc3","repo":"AlistGo/alist","slug":"invalid-storage-account-name-must-be-chars-of-low","errorCode":null,"errorMessage":"invalid storage account name: must be chars of lowercase letters or numbers only","messagePattern":"invalid storage account name: must be chars of lowercase letters or numbers only","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/azure_blob/driver.go","lineNumber":45,"sourceCode":"\tconfig          driver.Config\n}\n\n// Config returns the driver configuration.\nfunc (d *AzureBlob) Config() driver.Config {\n\treturn d.config\n}\n\n// GetAddition returns additional settings specific to Azure Blob Storage.\nfunc (d *AzureBlob) GetAddition() driver.Additional {\n\treturn &d.Addition\n}\n\n// Init initializes the Azure Blob Storage client using shared key authentication.\nfunc (d *AzureBlob) Init(ctx context.Context) error {\n\t// Validate the endpoint URL\n\taccountName := extractAccountName(d.Addition.Endpoint)\n\tif !regexp.MustCompile(`^[a-z0-9]+$`).MatchString(accountName) {\n\t\treturn fmt.Errorf(\"invalid storage account name: must be chars of lowercase letters or numbers only\")\n\t}\n\n\tcredential, err := azblob.NewSharedKeyCredential(accountName, d.Addition.AccessKey)\n\tif err != nil {\n\t\treturn fmt.Errorf(\"failed to create credential: %w\", err)\n\t}\n\n\t// Check if Endpoint is just account name\n\tendpoint := d.Addition.Endpoint\n\tif accountName == endpoint {\n\t\tendpoint = fmt.Sprintf(\"https://%s.blob.core.windows.net/\", accountName)\n\t}\n\t// Initialize Azure Blob client with retry policy\n\tclient, err := azblob.NewClientWithSharedKeyCredential(endpoint, credential,\n\t\t&azblob.ClientOptions{ClientOptions: azcore.ClientOptions{\n\t\t\tRetry: policy.RetryOptions{\n\t\t\t\tMaxRetries: MaxRetries,\n\t\t\t\tRetryDelay: RetryDelay,","sourceCodeStart":27,"sourceCodeEnd":63,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/azure_blob/driver.go#L27-L63","documentation":"Error \"invalid storage account name: must be chars of lowercase letters or numbers only\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/azure_blob/driver.go:45 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the underlying error details in the message, fix the indicated cause (credentials, network, or provider-side failure), and retry."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"843d9dc8149126976b2625911e45a4d3ffd6f2f5","analyzedAt":"2026-08-15T12:14:11.722Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}