yahoo_fantasy_api icon indicating copy to clipboard operation
yahoo_fantasy_api copied to clipboard

League_Ids Runtime Error

Open coverfield1205 opened this issue 3 years ago • 1 comments

When I run the following code: oauth = yahoo_oauth.OAuth2(yahooapi_dict['clientid'], yahooapi_dict['clientsecret']) lg = yfa.game.Game(oauth, code = 'nfl').league_ids()

I get the following error: RuntimeError: b'{\n "error": {\n "xml:lang": "en-us",\n "yahoo:uri": "\/fantasy\/v2\/users;use_login=1\/games\/teams?format=json",\n "description": "You do not have the appropriate OAuth scope permissions to perform this action.",\n "detail": ""\n }\n}'

Is this stemming from an error on my part?

coverfield1205 avatar Aug 25 '22 23:08 coverfield1205

I think so, when you created your app on yahoo's developer portal did you check these permissions? image

DMcP89 avatar Jun 21 '23 13:06 DMcP89