Tick History error message: "ErrorMessage": "JSONDecodeError: Expecting value: line 1 column 1 (c...

...har 0)",

Tick History Error:

Extracturl : https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/ExtractRaw


We are getting connection error while accessing the Reuters API. Please find the below error message: "ErrorMessage": "JSONDecodeError: Expecting value: line 1 column 1 (char 0)",

This type of error throws when we don't receive any response from API. Please look into this ASAP.

1.png

2.png


Best Answer

  • gareth.teage
    Answer ✓

    @Vinod A Hi Vinod,

    I'm not sure but I'm wondering if this error is being thrown up because the return is not necessarily going to be JSON in the response, and I am wondering if this is why the error is occurring.

    On sending the request from an ExtractRaw a 200 OK return should return JSON, with JobId and Notes, however should there be a 202 Accepted instead I believe the response header 'Location' with a full url needs to be 'monitored' as separate GET request until the, also see the below URL for more detail (DSS or Tick History credentials required)

    selectapi.datascope.refinitiv.com/RestApi.Help/Home/KeyMechanisms?ctx=Extractions&tab=0&uid=Async

    Best regards,

    Gareth

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.