[RESTAPI V1] Simple Auth Check fails

kyle.moon
kyle.moon Newcomer
POST https://selectapi.datascope.refinitiv.com/RestApi/v1/Authentication/RequestToken

With the above, I have successfully created an Authentication Token ("value" from the successful response) following the REST API tutorial.


However, it fails when I try to check auth providing my Authorization Token as below

GET https://selectapi.datascope.refinitiv.com/RestApi/v1/Users/Users(1111111)

With header as

Authorization: Token <"_Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">

or

Authorization: Token <_Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>


I keep getting

{
"error": {
"message": "Authentication request failed because of invalid token"
}
}


ps. It works when I visit https://selectapi.datascope.refinitiv.com/RestApi/v1/Users/Users(1111111) on Chrome and type my id and password manually.



Best Answer

Answers

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.