restyodlee

Consuming method auth Yodlee API


I am new to using this Yodlee tool, I created my developer account, and I am wanting to consume the sandbox APIs. I am not being able to consume by rest with the Talend Api not even the initial method of "auth" (https://sandbox.api.yodlee.com/ysl/auth/token) to obtain the token; I'm passing the loginName, Api-version: 1.1, and content-type in the header as specified, then the clientId and the secret in the body. The error message it returns is:

{
"errorCode": "Y303",
"errorMessage": "clientId or secret is missing",
"referenceCode": "rrt-8413800343306027303-c-gce-12663 ....."
}

Maybe the sandbox account doesn't allow me to do this, or am I forgetting something?


Solution

  • I just got the same issue. I am using RestSharp.

    Finally found out that's a mismatched Content-Type.

    It works after adding the header: Content-Type: application/x-www-form-urlencoded