Author |
Topic: DataErrrorresponce with no vivid reason (3 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
OVasylenko564 Posts: 2 Joined: Apr 06, 2017 |
Hi there, i get a weard reaction on simple code. Can't get what's wrong. Any ideas?
public static void ConnectOEC() The response is OnLoginComplete: CompleteConnected=False OnLoginfailed: DattaError Edited by OVasylenko564 on May 29, 2017 10:02 AM |
||||
VPfau Moderator Posts: 164 Joined: |
Hello,
After OECAPI connects to servers it initializes authentication and data load process. Till it's done you will have CompleteConnetion == false. In case of exception on data load process it will never set CompleteConnetion == true and drop connections. Check the exception in the logs. What OECAPI version do you use? Did you take the fresh OECAPI from OEC Trader? Vitaliy Pfau
|
||||
OVasylenko564 Posts: 2 Joined: Apr 06, 2017 |
I've found my problem and solution. My methods with Accounts class were implemented incorrectly. After correction everything works fine. Thanks for your reply!
|
||||