Dukascopy
 
 
Wiki JStore Search Login

JFOREX-3313 Your order has been rejected due to validation fail.
 Post subject: JFOREX-3313 Your order has been rejected due to validation fail. Post rating: 0   New post Posted: Mon 07 Nov, 2011, 12:17 

User rating: 0
Joined: Wed 18 May, 2011, 08:40
Posts: 43
Location: RU
I got the following error message: "Your order has been rejected due to validation failure. Your session has expired, please relogin." while I was running my strategy in live testing mode.

Why did it happen? Does it mean that all following order submissions will also fail? It happened 3 minutes later after I started the strategy. How can it be handled programmatically? Thanks in advance.


 
 Post subject: Re: Your order has been rejected due to validation failure. Post rating: 0   New post Posted: Tue 08 Nov, 2011, 08:57 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
It looks like if it was one of the following:
a) Your account did expire at the very moment.
b) There was some server error which requires reauthorization.


 
 Post subject: Re: Your order has been rejected due to validation failure. Post rating: 0   New post Posted: Tue 08 Nov, 2011, 10:29 

User rating: 0
Joined: Wed 18 May, 2011, 08:40
Posts: 43
Location: RU
API Support wrote:
It looks like if it was one of the following:
a) Your account did expire at the very moment.
b) There was some server error which requires reauthorization.


Hm. I'm still able to do historical testing although I've registered half year ago.
The only problem is... there is no exception which can be handled. Should I parse the messages from server? If yes, how can it be done (code sample)?


 
 Post subject: Re: JFOREX-3313 Your order has been rejected due to validati Post rating: 0   New post Posted: Tue 08 Nov, 2011, 11:57 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
trottel wrote:
The only problem is... there is no exception which can be handled. Should I parse the messages from server? If yes, how can it be done (code sample)?
Currently the only option is filtering DEBUG logs of category com.dukascopy.api.impl.execution by their text contents.


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com