azure storage blob append had happen error RRS feed

  • Question

  • i use the azure-storage npm package

    This is my codes:

    appendBlockFromText (blobName, context, containterName = '') {
    if (_.isEmpty(containterName)) {
    containterName = config.storage_blob.containter_name
    return new Promise(async (resolve, reject) => {
    this.blobClient.appendBlockFromText(containterName, blobName, context, {append"color:#09885a;">2}, error => {
    if (error) throw error


    And this is my inculde package:


    And run the program, then report an error,

    this is the error infomation:

    [StorageError: The blob type is invalid for this operation]

    now I want to know why happend this phenomenon ???

    Wednesday, December 26, 2018 6:40 AM

All replies