question

Upvotes
Accepted
16 4 4 14

Client is receiving “Invalid Authorization Token” error when they request data on REST API. I have attached the complete details

invalid-auth.txt

tick-history-rest-api
invalid-auth.txt (2.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
13.7k 26 8 12

@Manigandan.R, the header of the extraction request has an incorrect syntax. The token should not be surrounded by <" and ">, instead it should look like this:

Authorization: Token _wRZWurwNK1qL4mSQxulsoKQHWOZIjbszJ1Q1JsP1TdVu7GNcY9yKgLRYyH-XQJsJKfZgTOwJN42HbZUgMK8Y-HAY7u3u11tzkzLpGBLx2oG9zShqgrNM7LDpBGGckrRtl_olKuols_h-30LSuLI4Q10RJOG-dx3njSqLNXLKBVavkpLKcqJ9YWd0hyKEAykF0eQX4RF-IvW5jyf7DGVwFccFIqg2xL8ZrsFUZ1xNixEzxMTZJQoy7qzrq3En5EEtv3NswtnOH6UWjHJX8Do0J2r1alJyCR2TidK_V6qb6dc
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
1 0 0 0

You are correct. This works, but the documentation in "Thomson Reuters Tick History 11.0 REST API User Guide v1.0" in the section "Create a session token" / "Apply a session token" should be modified to reflect this, as it is currently very misleading.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.