Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save FilBot3/9e404ba66868c1e7a345d2e96e79d89f to your computer and use it in GitHub Desktop.

Select an option

Save FilBot3/9e404ba66868c1e7a345d2e96e79d89f to your computer and use it in GitHub Desktop.
Lutris Flatpak permissions denied when attempting to access Humble Bundle Orders API
➜ ~
> flatpak run net.lutris.Lutris
Gtk-Message: 07:23:19.666: Failed to load module "canberra-gtk-module"
2022-05-28 07:23:19,668: Starting Lutris 0.5.10.1
2022-05-28 07:23:19,700: No folder at /var/home/filbot/.var/app/net.lutris.Lutris/data/lutris/runners/retroarch/
2022-05-28 07:23:19,726: Using NVIDIA drivers 510.68.02 for x86_64
2022-05-28 07:23:19,726: GPU: NVIDIA GeForce RTX 2070 SUPER
2022-05-28 07:23:19,726: GPU: 10DE:1E84 3842:3071 (nvidia drivers)
2022-05-28 07:23:19,792: Startup complete
2022-05-28 07:23:24,045: Error while completing task <bound method BaseService.reload of <humblebundle.HumbleBundleService object at 0x7f541adb2300 (lutris+services+humblebundle+HumbleBundleService at 0x561bfba8c760)>>: <class 'lutris.util.http.UnauthorizedAccess'> Access to https://www.humblebundle.com/api/v1/user/order denied
File "/app/lib/python3.9/site-packages/lutris/util/jobs.py", line 34, in target
result = self.function(*args, **kwargs)
File "/app/lib/python3.9/site-packages/lutris/services/base.py", line 96, in reload
self.load()
File "/app/lib/python3.9/site-packages/lutris/services/humblebundle.py", line 97, in load
library = self.get_library()
File "/app/lib/python3.9/site-packages/lutris/services/humblebundle.py", line 146, in get_library
for order in self.get_orders():
File "/app/lib/python3.9/site-packages/lutris/services/humblebundle.py", line 170, in get_orders
gamekeys = self.make_api_request(self.api_url + "api/v1/user/order")
File "/app/lib/python3.9/site-packages/lutris/services/humblebundle.py", line 117, in make_api_request
request.get()
File "/app/lib/python3.9/site-packages/lutris/util/http.py", line 95, in get
raise UnauthorizedAccess("Access to %s denied" % self.url) from error
2022-05-28 07:23:50,156: Shutting down Lutris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment