gautamsi / ews-javascript-api

EWS API for TypeScript/JavaScript - ported from OfficeDev/ews-managed-api - node, cordova, meteor, Ionic, Electron, Outlook Add-Ins
MIT License
281 stars 72 forks source link

Streaming notification subscription error #370

Closed brt-han-mai closed 3 years ago

brt-han-mai commented 3 years ago

version 0.10.3

C:\Users\han.mai\Desktop\work\SOFTS\ews-test\node_modules\ews-javascript-api\js\AltDictionary.js:85
            throw new Error("Dictionary - invalid key object, keyPicker return null");
            ^

Error: Dictionary - invalid key object, keyPicker return null
    at DictionaryWithStringKey.Dictionary.addUpdate (C:\Users\han.mai\Desktop\work\SOFTS\ews-test\node_modules\ews-javascript-api\js\AltDictionary.js:85:19)
    at DictionaryWithStringKey.Dictionary.Add (C:\Users\han.mai\Desktop\work\SOFTS\ews-test\node_modules\ews-javascript-api\js\AltDictionary.js:80:68)
    at C:\Users\han.mai\Desktop\work\SOFTS\ews-test\node_modules\ews-javascript-api\js\Notifications\StreamingSubscriptionConnection.js:78:37
    at Array.forEach (<anonymous>)
    at new StreamingSubscriptionConnection (C:\Users\han.mai\Desktop\work\SOFTS\ews-test\node_modules\ews-javascript-api\js\Notifications\StreamingSubscriptionConnection.js:77:27)
    at subscribeRoom (C:\Users\han.mai\Desktop\work\SOFTS\ews-test\index.js:74:24)
    at Object.<anonymous> (C:\Users\han.mai\Desktop\work\SOFTS\ews-test\index.js:98:1)