-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error code: 1004. The item or resource being requested could not be found. #22
Comments
You can directly return def get_free_games(self, allow_countries: str = None) -> dict:
"""Returns the games from "Free Games" section in the EGS."""
if allow_countries is None:
allow_countries = self.country
api_uri = (
"https://store-site-backend-static.ak.epicgames.com/"
"freeGamesPromotions?locale={}&country={}&allowCountries={}"
)
api_uri = api_uri.format(self.locale, self.country, allow_countries)
data = self._session.get(api_uri).json()
return data I tested once, the game data returned is still normal, I don't know why there is an error |
I think the issue is that empty values in the JSON response are being presented as None values instead of null. |
^ Fixed with the latest commit. Looks like Epic Games messed something up like with the collections method, launcher is ignoring those errors so we probably shall too. Closed. |
Hello, I've started to receive this error since today:
The text was updated successfully, but these errors were encountered: