yahoo-fantasy-sports-api
yahoo-fantasy-sports-api copied to clipboard
User Resources return Unauthorized
When consuming this package, I am explicitly setting the yahoo access/refresh tokens instead of using the auth callbacks.
All collections for private leagues are working, however when I try to request the current users games/leagues it returns unauthorized. Im confused as to why this would be the case given the access token works for other private resources. I've looked through the service code and cannot see any differences in terms of auth when explicity calling setAccessToken() and setRefreshToken() vs the auth callback/redirect functions. Thoughts?
That's strange... Are you able to get a response here using the Tester after logging in? https://yahoo-fantasy-node-docs.vercel.app/resource/user/games