I'm trying to download 2 minutes of data from yesterday morning but it's getting stuck in a 202 code , which it normally only does once or twice. I've attached the auth token, request body, request url and what the console is returning.
Thank you
Auth Token: (Added in private comment)
requestbody:
requestBody={
"ExtractionRequest": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.TickHistoryIntradaySummariesExtractionRequest",
"ContentFieldNames": ["Open","Volume","High", "Low"],
"IdentifierList": {
"@odata.type": "#DataScope.Select.Api.Extractions.ExtractionRequests.InstrumentIdentifierList",
"InstrumentIdentifiers": [{
"Identifier": "LCOJ2",
"IdentifierType": "Ric"
}],
"UseUserPreferencesForValidationOptions":"true"
},
"Condition": {
"MessageTimeStampIn": "GmtUtc",
"ReportDateRangeType": "Range",
"QueryStartDate": '2022-02-03T08:28:00.000Z',
"QueryEndDate": '2022-02-03T08:30:01.000Z',
"SummaryInterval": "OneSecond",
"TimebarPersistence":"true",
"DisplaySourceRIC":"true"
}
requestUrl='https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/ExtractRaw';
HTTP status of the response: 202
Extraction is not complete, we shall poll the location URL:
https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/ExtractRawResult(ExtractionId='0x07e32aa50c9d881a')
As we received a 202, we wait 30 seconds, then poll again (until we receive a 200)
HTTP status of the response: 202
As we received a 202, we wait 30 seconds, then poll again (until we receive a 200)
HTTP status of the response: 202
As we received a 202, we wait 30 seconds, then poll again (until we receive a 200)
HTTP status of the response: 202
As we received a 202, we wait 30 seconds, then poll again (until we receive a 200)
HTTP status of the response: 202
As we received a 202, we wait 30 seconds, then poll again (until we receive a 200)
HTTP status of the response: 202
As we received a 202, we wait 30 seconds, then poll again (until we receive a 200)
HTTP status of the response: 202
As we received a 202, we wait 30 seconds, then poll again (until we receive a 200)
HTTP status of the response: 202
As we received a 202, we wait 30 seconds, then poll again (until we receive a 200)
HTTP status of the response: 202
As we received a 202, we wait 30 seconds, then poll again (until we receive a 200)