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%28%270x05d9bf1b0c9b2f96%27%29%2F%24value -o /dev/null -w '%{url_effective}'
It returns below link:
https://10.192.6.221/RestApi/v1/Extractions/RawExtractionResults%28%270x05d9bf1b0c9b2f96%27%29%2F%24value
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"}}