nicolaskenner / python-fortnite-api-wrapper

The Python Fortnite API Wrapper
MIT License
44 stars 8 forks source link

HTTPError: 403 Client Error #11

Closed eshao731 closed 6 years ago

eshao731 commented 6 years ago

Traceback (most recent call last): File "D:/python3.6/py/python-fortnite-api-wrapper/temp.py", line 16, in stats = fortnite.battle_royale_stats(username=player_name, platform=Platform.pc) File "D:\python3.6\py\python-fortnite-api-wrapper\pfaw\core.py", line 35, in battle_royale_stats response = self.session.get(constants.battle_royale.format(player_id)) File "D:\python3.6\py\python-fortnite-api-wrapper\pfaw\core.py", line 120, in get response.raise_for_status() File "D:\venvs\simple\lib\site-packages\requests\models.py", line 935, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://fortnite-public-service-prod11.ol.epicgames.com/fortnite/api/stats/accountId/929a1a7c14504b36bb0f4275d6292ec8/bulk/window/alltime

Thank you for your project.I had a problem with the test. The api is closed? How can I solve it?

nicolaskenner commented 6 years ago

Seems to be a problem with your tokens. Going to close this for now. Feel free to message me on Discord for assistance on this.