Skip to content

Failed to create new container #545

Description

@LirazRom

I have followed the instructions in the tutorial and i get exception of authorization

com.microsoft.azure.storage.StorageException: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.

my code is
val storageConnectionString = "DefaultEndpointsProtocol=https;AccountName=xxx;AccountKey=xxx"
val storageAccount: CloudStorageAccount = CloudStorageAccount.parse(storageConnectionString);
val blobClient: CloudBlobClient = storageAccount.createCloudBlobClient();
val container: CloudBlobContainer = blobClient.getContainerReference("imagesvhd");
container.createIfNotExists()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions