When i then pass that to another app in Node using the SDK
function getMe(yourAccessToken) {
platformClient.ApiClient.instance.setAccessToken(yourAccessToken);
/
let apiInstance = new platformClient.TokensApi();
apiInstance.getTokensMe()
.then((data) => {
console.log(getTokensMe success! data: ${JSON.stringify(data, null, 2)});
})
.catch((err) => {
console.log('There was a failure calling getTokensMe'); //console.error(err);
})
}
i get the error
I just put together a quick test app for this and it's working correctly. There is some issue in your code that's causing the auth token not to be set correctly.
Thank you for checking. Should the yourAccessToken be just the entire array or just the line "access_token": "9s1jsCNxpF1swHGQGmXXZhgpQTPpxII6BYAwtlNuEUxD0614nDBmMcGLs2zzTBJeJQJZbgHeZ3QviEoXXXXXX",