These are chat archives for gautamsi/ews-javascript-api

4th
Jun 2017
erkamalsharma
@erkamalsharma
Jun 04 2017 11:48
Hi @gautamsi
I am connecting to an exchange mailbox using your only available npm package :)
Gautam Singh
@gautamsi
Jun 04 2017 11:50
@erkamalsharma any issues or suggestions?
erkamalsharma
@erkamalsharma
Jun 04 2017 11:50
I am facing an issue related to exch.LoadPropertiesForItems(params.Items, propSet) method
Gautam Singh
@gautamsi
Jun 04 2017 11:51
ok
erkamalsharma
@erkamalsharma
Jun 04 2017 11:52
Suppose we have 64 items in the exchange mailbox, while requesting the specific propSet, it broke on the 5th item (due to some access issues at that event for specific properties whatever be the reason), then further items from 6 to 63 is not loading the required property set.
Response is showing "Item can not be processed due to the error in previous call" something like this.
May I know the way to handle it?
Gautam Singh
@gautamsi
Jun 04 2017 11:54
you are loading properties individual items and it fails due to server error?
can you send the same soap request to server using postman and observe the result?
erkamalsharma
@erkamalsharma
Jun 04 2017 11:55
individual item using LoadPropertiesForItems() method
I don't know actually how to send this through postman. I write the code in c# and it's working fine.
means no issue at the exchange level.
Gautam Singh
@gautamsi
Jun 04 2017 11:56
can you enable tracing in c# and copy the soap request, then you can compare with what is being sent with ews-javascript-api
I can compare them and let you know if there is any bug.
erkamalsharma
@erkamalsharma
Jun 04 2017 11:58
One simple question @gautamsi , If any item give error while loading, so subsequent calls or further item loads in the soap batch processing?
Gautam Singh
@gautamsi
Jun 04 2017 11:58
you can ping me the test files in 1:1
this should be single request
so it is failing on server, i may not be setting a flag in the soap request.
i can compare then know whats wrong
erkamalsharma
@erkamalsharma
Jun 04 2017 12:00
okay
Thanks will come back to you soon
Gautam Singh
@gautamsi
Jun 04 2017 12:00
thnanks