AWS URL is not getting generated while downloading MBO data through AWS

We are facing issue with AWS-MBO download (https://community.developers.refinitiv.com/questions/16520/mbo-file-type-template.html). In few cases such as the download of MBO data for 2nd to 6th parts of AEX exchange of the date 18-08-2017 the below command is not generating AWS link to download the MBO data.

curl -Ik -L -H 'Authorization: Token xxxxxxx' -H X-Direct-Download:true -X GET https://10.192.6.221/RestApi/v1/Extractions/RawExtractionResults('0x05d9bf1b0c9b2f96')/$value -o /dev/null -w '%{url_effective}'
It returns below link:
https://10.192.6.221/RestApi/v1/Extractions/RawExtractionResults('0x05d9bf1b0c9b2f96')/$value

As a result while we are using this link to download the data it is returning HTTP/1.1 401 Unauthorized error. A non-gunzippable file is getting created with entries as below.

{"error":{"message":"Authentication request failed because no token was provided in the Authorization: header"}}

Best Answer