Search code examples
yodlee

Yodlee : Invalid token in authorization header


I am trying to test a GET call on the Yodless REST webservices.

I have tried following their instructions without success.

enter image description here

Looks like they have two tokens (Cobrand and User token)

Not sure which one of these tokens is an access token which I need to put in my authorization header.

But I have tried both and I am getting "Invalid Token in authorization header" for both of them as shown below.

Using "Cobrand token" as Authorization Header

enter image description here

Using "User token" as Authorization header

enter image description here

Can someone tell me what is wrong with my request ?


Solution

  • I figured it out.

    Looks like I need to set the authorization header as follows

    {cobSession=XXX,userSession=YYY}
    

    Once the above formatted data is sent as part of the payload I am able to get a successful response.