Error Description:
In Azure, it will return error "OutOfRangeInput" when use List Containers operation with invalid continuationToken on blob service.
But in Azurite, it will list containers successfully in this case.
Azure error is shown as following:
To Reproduce
The demo code is shown as following:
import {
BlobServiceClient
} from "@azure/storage-blob";
import * as assert from "assert"
async function main() {
const blobServiceClient = await BlobServiceClient.fromConnectionString("<Azurite-https-connectionString>");
try{
const result = (await blobServiceClient.listContainers().byPage({ continuationToken: "garbage" }).next()).value;
}catch(err){
console.log(err);
assert.ok((err as any).response.parsedBody.Code === "OutOfRangeInput");
}
}
main();
Expected Behavior
When use List Containers operation with invalid continuationToken on blob service, Azurite return error "OutOfRangeInput".
Error Description: In Azure, it will return error "OutOfRangeInput" when use List Containers operation with invalid continuationToken on blob service. But in Azurite, it will list containers successfully in this case. Azure error is shown as following:
To Reproduce The demo code is shown as following:
Expected Behavior When use List Containers operation with invalid continuationToken on blob service, Azurite return error "OutOfRangeInput".
@jongio for notification.