ProtoOAAccountAuthReq returns "No environment connection"

Created at 31 Mar 2022, 22:34
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
RI

Rimokatolik

Joined 12.02.2019

ProtoOAAccountAuthReq returns "No environment connection"
31 Mar 2022, 22:34


I have created new demo account, and for it ProtoOAAccountAuthReq returns error code CANT_ROUTE_REQUEST with message "No environment connection", but code works with my live account. I am not aware of anything different between live and demo accounts for Open API, like there is for FIX API. What am I missing?


Thank you


@Rimokatolik
Replies

Rimokatolik
31 Mar 2022, 23:53

RE:

Rimokatolik said:

I have created new demo account, and for it ProtoOAAccountAuthReq returns error code CANT_ROUTE_REQUEST with message "No environment connection", but code works with my live account. I am not aware of anything different between live and demo accounts for Open API, like there is for FIX API. What am I missing?


Thank you

Actually it was my mistake with ApiInfo.GetHost


@Rimokatolik