API Support Forum
OEC API > API Support > Sync collection issues
Author Topic: Sync collection issues
(4 messages, Page 1 of 1)
Moderators: VPfau
MSukhov28
Posts: 4
Joined: Jul 23, 2013


Posted: Jan 29, 2016 @ 04:18 AM             Msg. 1 of 4
Sometimes get the issue:

OEC.API.SoftwareErrorException: Software error ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)

at System.Collections.Generic.List`1.Enumerator.MoveNextRare()

at OEC.API.Core.EndUpdate(ClientResponse response)

at OEC.API.Core.DispatchClientResponse(ClientResponse response)
VPfau
Moderator
Posts: 154
Joined:


Posted: Jan 29, 2016 @ 09:42 AM             Msg. 2 of 4
Hello,

The fix for this issue was released 10/02/2015 together with 3.5.15.82 Trader version. Please update OECAPI

Vitaliy Pfau
MSukhov28
Posts: 4
Joined: Jul 23, 2013


Posted: Jan 29, 2016 @ 09:52 AM             Msg. 3 of 4
Thank you for answer.

The latest version is 3.5.14 https://www.nuget.org/packages/OECAPI/ Where I can get the newest?
VPfau
Moderator
Posts: 154
Joined:


Posted: Jan 29, 2016 @ 10:00 AM             Msg. 4 of 4
We are going to update our nuget package soon. Till then you can take dlls from this installation https://prod.gainfutures.com/WebAPI/api/Files/DownloadClientUpdateLast?brandId=0&clientTypeId=0&branchId=1

Vitaliy Pfau