Login Fail

Options

We receive the following unexpected response:

[
{
"ID": 525729497,
"Type": "Error",
"Text": "JSON Converter Token Type error: Expected 'PRIMITIVE' for key 'ID' Received 'PRIMITIVE'",
"Debug": {
"File": "/local/jenkins/workspace/RTDSHotFixCore_Release/OS/OL7-64/esdk/source/rtsdk/Cpp-C/Eta/Impl/Converter/jsonToRwfSimple.C",
"Line": 348,
"Offset": 6,
}
}
]

We found that it was caused by the field, ID, we sent in login request:1693816435668.png

ID in our request was 64bits. But it seemed that your system can only recognize 32bits.

It was really confusing that we has been sending 64bits for a long time and never occur this Error msg.

So I want to know if your system has been updated recently?

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    Hello @shanwei.will

    Thank you for the information. I have tried the ID 525729497375546637 and connected to RTO. I can replicate the issue as follows:

    Connecting to WebSocket wss://ap-southeast-1-aws-3-lrg.optimized-pricing-api.refinitiv.net:443/WebSocket for session1...
    WebSocket successfully connected for session1!
    SENT on session1:
    {
      "Domain":"Login",
      "ID":525729497375546637,
      "Key":{
        "Elements":{
          "ApplicationId":"256",
          "AuthenticationToken":"eyJ0...w",
          "Position":"127.0.0.1/machine"
        },
        "NameType":"AuthnToken"
      }
    }
    RECEIVED on session1:
    [
      {
        "Debug":{
          "File":"/local/jenkins/workspace/RTDSHotFixCore_Release/OS/OL7-64/esdk/source/rtsdk/Cpp-C/Eta/Impl/Converter/jsonToRwfSimple.C",
          "Line":348,
          "Message":"{\"ID\": 525729497375546637, \"Domain\": \"Login\", \"Key\": {\"NameType\": \"AuthnToken\", \"Elements\": {\"ApplicationId\": \"256\", \"Position\": \"192.168.68.111/WIN-V793K3HCLOL\", \"AuthenticationToken\": \"eyJ0...w\"}}}",
          "Offset":7
        },
        "ID":525729497,
        "Text":"JSON Converter Token Type error: Expected 'PRIMITIVE' for key 'ID' Received 'PRIMITIVE'",
        "Type":"Error"
      }
    ]

    This error message is generated from the RTO server even the application sent a valid JSON message. I highly recommend you contact the RTO support team directly to verify the issue on server side. You can contact the team via https://my.refinitiv.com/content/mytr/en/helpandsupport.html website.

    rrto-ticket.png


Answers