Open API Token Refresh Response Issue

Created at 03 Apr 2023, 13:25
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!
CT

ctid5696420

Joined 17.02.2023

Open API Token Refresh Response Issue
03 Apr 2023, 13:25


Hi ,I am creating a APP To Refresh Token using Open API but I am having issues while refresh token ,some time I get Response from OPEN API some time not. I am not able to figure the problem in this code.

 

 var protoMessage = new ProtoMessage
                {
                    Payload = new ProtoOARefreshTokenReq
                    {
                        RefreshToken = refreshToken,
                    }.ToByteString(),
                    PayloadType = (int)ProtoOAPayloadType.ProtoOaRefreshTokenReq
                };
                await _client.SendMessage(protoMessage);


@ctid5696420
Replies

Spotware
03 Apr 2023, 16:34

Dear trader,

In order to investigate this issue further, please provide us with the following information

  • Application id (client id)
  • IP address at the time of request
  • Exact time/date of the request
  • The exact data of the request
  • The exact data of the response

Best regards,

cTrader Team


@Spotware

ctid5696420
07 Apr 2023, 11:03

RE:

Spotware said:

Dear trader,

In order to investigate this issue further, please provide us with the following information

  • Application id (client id)  = 5269_CEfKn4k9CyNJXZA5B7ImJFTtWLpnkBEkJEoMkx7XnM5FqXuReX
  • IP address at the time of request = 202.59.75.26
  • Exact time/date of the request = 07-04-2023 2:52 AM (US Eastern Standard Time)
  • The exact data of the request= {{ "payloadType": 2173, "payload": "EitrRHk0Y0RlWVdGdFlLVkxBTWRCUEZRdk1KR2J4dUstemVfQTRUYzIyOGVF"}}
  • The exact data of the response = No Response

Thank You

 


@ctid5696420