Lutris throws an error when syncing Prime Gaming

When I sync my Prime Gaming games, I get this error:

flatpak run net.lutris.Lutris -d
F: Can't get document portal: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying

(process:2): Gdk-WARNING **: 15:59:15.613: Failed to read portal settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop

(process:2): GLib-GIO-WARNING **: 15:59:15.614: Can't find module 'dconf' specified in GSETTINGS_BACKEND

(lutris:2): Gdk-WARNING **: 15:59:15.671: Failed to read portal settings: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop

(lutris:2): GLib-GIO-WARNING **: 15:59:15.672: Can't find module 'dconf' specified in GSETTINGS_BACKEND
2024-08-31 15:59:15,757: Command 'fluidsynth' not found on your system
INFO     2024-08-31 15:59:16,054 [application.do_command_line:479]:Starting Lutris 0.5.17
MESA: error: Use of VkSurfacePresentModeCompatibilityEXT without a VkSurfacePresentModeEXT set. This is an application bug.
MESA: error: Use of VkSurfacePresentModeCompatibilityEXT without a VkSurfacePresentModeEXT set. This is an application bug.
INFO     2024-08-31 15:59:16,097 [startup.run_all_checks:120]:AMD Radeon RX 7800 XT (1002:747e 1458:2413 amdgpu) Driver 24.1.3
DEBUG    2024-08-31 15:59:16,199 [xrandr.get_resolutions:91]:Retrieving resolution list
DEBUG    2024-08-31 15:59:16,201 [xrandr._get_vidmodes:18]:Retrieving 35 video modes from XrandR
DEBUG    2024-08-31 15:59:16,245 [path_cache._update_missing_games:114]:Checking for missing games
DEBUG    2024-08-31 15:59:16,265 [api.check_stale_runtime_versions:52]:Modified at Sat 31 Aug 2024 03:30:18 PM , will update after Sat 31 Aug 2024 09:30:18 PM

(lutris:2): Gtk-WARNING **: 15:59:16.266: Creating a portal monitor failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Inhibit” on object at path /org/freedesktop/portal/desktop
ERROR    2024-08-31 15:59:16,271 [style_manager._call_cb:87]:Error reading color-scheme: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop (19)
Traceback (most recent call last):
  File "/app/lib/python3.11/site-packages/lutris/style_manager.py", line 80, in _call_cb
    values = obj.call_finish(result)
             ^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop (19)
DEBUG    2024-08-31 15:59:16,272 [lutriswindow.create_runtime_updater_cb:1244]:Runtime up to date
DEBUG    2024-08-31 15:59:17,247 [http._request:88]:POST https://lutris.net/api/users/library?since=1725134261
DEBUG    2024-08-31 15:59:20,164 [http._request:88]:GET https://api.amazon.com/user/profile
DEBUG    2024-08-31 15:59:20,326 [base.wipe_game_cache:441]:Deleting amazon cache /home/Jarza/.var/app/net.lutris.Lutris/cache/lutris/amazon-library.json
DEBUG    2024-08-31 15:59:20,326 [base.wipe_game_cache:175]:Deleting games from service-games for amazon
DEBUG    2024-08-31 15:59:20,326 [http._request:88]:GET https://api.amazon.com/user/profile
DEBUG    2024-08-31 15:59:20,484 [http._request:88]:POST https://sds.amazon.com/amazon/
ERROR    2024-08-31 15:59:21,013 [jobs.target:32]:Error while completing task <function BaseService.start_reload.<locals>.do_reload at 0x7f0969ccff60>: <class 'KeyError'> 'asin'
  File "/app/lib/python3.11/site-packages/lutris/util/jobs.py", line 30, in target
    result = self.function(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/lutris/services/base.py", line 142, in do_reload
    self.load()
  File "/app/lib/python3.11/site-packages/lutris/services/amazon.py", line 160, in load
    games = [AmazonGame.new_from_amazon_game(game) for game in self.get_library()]
                                                               ^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/lutris/services/amazon.py", line 367, in get_library
    asin = product["asin"]
           ~~~~~~~^^^^^^^^

The output of lutris --submit-issue:

{
  "comment": "When trying to sync Prime Gaming, it throws an eror.",
  "system": {
    "gpus": [
      {
        "DRIVER": "amdgpu",
        "PCI_ID": "1002:747E",
        "PCI_SUBSYS_ID": "1458:2413",
        "PCI_CLASS": "30000",
        "PCI_SLOT_NAME": "0000:2d:00.0",
        "MODALIAS": "pci:v00001002d0000747Esv00001458sd00002413bc03sc00i00"
      }
    ],
    "env": {
      "XDG_RUNTIME_DIR": "/run/user/1000",
      "container": "flatpak",
      "ALACRITTY_LOG": "/tmp/Alacritty-9036.log",
      "ALACRITTY_SOCKET": "/run/user/1000/Alacritty-wayland-1-9036.sock",
      "ALACRITTY_WINDOW_ID": "93955092939568",
      "ALSA_CONFIG_DIR": "/usr/share/alsa",
      "ALSA_CONFIG_PATH": "/usr/share/alsa/alsa-flatpak.conf",
      "APPIMAGE_EXTRACT_AND_RUN": "1",
      "AT_SPI_BUS_ADDRESS": "unix:path=/run/flatpak/at-spi-bus",
      "COLORTERM": "truecolor",
      "CONFIG_PROTECT": "/usr/share/gnupg/qualified.txt",
      "CONFIG_PROTECT_MASK": "/etc/sandbox.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/dconf /etc/ca-certificates.conf",
      "DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/flatpak/bus",
      "DBUS_SESSION_BUS_PID": "9063",
      "DBUS_SYSTEM_BUS_ADDRESS": "unix:path=/run/dbus/system_bus_socket",
      "DESKTOP_SESSION": "hyprland",
      "DISPLAY": ":0",
      "EDITOR": "nvim",
      "FLATPAK_ID": "net.lutris.Lutris",
      "FLATPAK_SANDBOX_DIR": "/home/Jarza/.var/app/net.lutris.Lutris/sandbox",
      "GCC_SPECS": "",
      "GI_TYPELIB_PATH": "/app/lib/girepository-1.0",
      "GSETTINGS_BACKEND": "dconf",
      "GST_PLUGIN_SYSTEM_PATH": "/app/lib32/gstreamer-1.0:/app/lib/gstreamer-1.0:/usr/lib/i386-linux-gnu/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0",
      "HL_INITIAL_WORKSPACE_TOKEN": "08c66a10-c0f1-493c-ac22-d2ccae37a9da",
      "HOME": "/home/Jarza",
      "HYPRCURSOR_SIZE": "16",
      "HYPRCURSOR_THEME": "rose-pine-hyprcursor",
      "HYPRLAND_CMD": "Hyprland",
      "HYPRLAND_INSTANCE_SIGNATURE": "9a09eac79b85c846e3a865a9078a3f8ff65a9259_1725105433_1610143428",
      "INFOPATH": "/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.43/info:/usr/share/autoconf-2.72/info:/usr/share/autoconf-2.13/info:/usr/share/automake-1.17/info:/usr/share/info",
      "LADSPA_PATH": "/usr/lib64/ladspa",
      "LANG": "en_US.utf8",
      "LD_LIBRARY_PATH": "/usr/lib/extensions/vulkan/gamescope/lib",
      "LESS": "-R -M --shift 5",
      "LESSOPEN": "|lesspipe %s",
      "LEX": "flex",
      "LOGNAME": "jarza",
      "LV2_PATH": "/usr/lib64/lv2",
      "MAIL": "/var/mail/jarza",
      "MANPAGER": "manpager",
      "MANPATH": "/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.43/man:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man:/usr/lib/llvm/18/share/man",
      "MOTD_SHOWN": "pam",
      "MOZ_ENABLE_WAYLAND": "1",
      "NPM_CONFIG_GLOBALCONFIG": "/etc/npm/npmrc",
      "OLDPWD": "/home/Jarza",
      "PAGER": "/usr/bin/less",
      "PATH": "/app/bin:/usr/bin:/app/utils/bin:/usr/lib/extensions/vulkan/MangoHud/bin/:/app/jre/bin/:/usr/lib/extensions/vulkan/gamescope/bin",
      "PS1": "[\ud83d\udce6 $FLATPAK_ID \\W]\\$ ",
      "PULSE_CLIENTCONFIG": "/run/flatpak/pulse/config",
      "PULSE_SERVER": "unix:/run/flatpak/pulse/native",
      "PWD": "/home/Jarza",
      "PYTHONUSERBASE": "/var/data/python",
      "SHELL": "/bin/sh",
      "SHLVL": "1",
      "TERM": "alacritty",
      "USER": "jarza",
      "WAYLAND_DISPLAY": "wayland-1",
      "WEBKIT_DISABLE_DMABUF_RENDERER": "1",
      "WINDOWID": "93955092939568",
      "XAUTHORITY": "/run/flatpak/Xauthority",
      "XCURSOR_SIZE": "16",
      "XDG_BACKEND": "wayland",
      "XDG_CACHE_HOME": "/home/Jarza/.var/app/net.lutris.Lutris/cache",
      "XDG_CONFIG_DIRS": "/app/etc/xdg:/etc/xdg",
      "XDG_CONFIG_HOME": "/home/Jarza/.var/app/net.lutris.Lutris/config",
      "XDG_CURRENT_DESKTOP": "Hyprland",
      "XDG_DATA_DIRS": "/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share",
      "XDG_DATA_HOME": "/home/Jarza/.var/app/net.lutris.Lutris/data",
      "XDG_SEAT": "seat0",
      "XDG_SEAT_PATH": "/org/freedesktop/DisplayManager/Seat0",
      "XDG_SESSION_CLASS": "user",
      "XDG_SESSION_ID": "1",
      "XDG_SESSION_PATH": "/org/freedesktop/DisplayManager/Session1",
      "XDG_SESSION_TYPE": "wayland",
      "XDG_STATE_HOME": "/home/Jarza/.var/app/net.lutris.Lutris/.local/state",
      "XDG_VTNR": "7",
      "_": "/usr/bin/flatpak",
      "_JAVA_AWT_WM_NONREPARENTING": "1",
      "__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS": "/etc/egl/egl_external_platform.d:/usr/lib/x86_64-linux-gnu/GL/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d"
    },
    "missing_libs": {
      "OPENGL": [
        [],
        []
      ],
      "VULKAN": [
        [],
        []
      ],
      "GNUTLS": [
        [],
        []
      ],
      "WINE": [
        [],
        []
      ],
      "GAMEMODE": [
        [],
        []
      ],
      "RADEON": [
        [],
        []
      ]
    },
    "cpus": [
      {
        "processor": "0",
        "vendor_id": "AuthenticAMD",
        "cpu family": "25",
        "model": "33",
        "model name": "AMD Ryzen 9 5950X 16-Core Processor",
        "stepping": "2",
        "microcode": "0xa20120e",
        "cpu MHz": "3594.896",
        "cache size": "512 KB",
        "physical id": "0",
        "siblings": "32",
        "core id": "0",
        "cpu cores": "16",
        "apicid": "0",
        "initial apicid": "0",
        "fpu": "yes",
        "fpu_exception": "yes",
        "cpuid level": "16",
        "wp": "yes",
        "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm debug_swap",
        "bugs": "sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass srso",
        "bogomips": "6802.25",
        "TLB size": "2560 4K pages",
        "clflush size": "64",
        "cache_alignment": "64",
        "address sizes": "48 bits physical, 48 bits virtual",
        "power management": "ts ttp tm hwpstate cpb eff_freq_ro [13] [14]"
      },
      ... other cores (32)
    "drives": [
      {
        "name": "sda",
        "fstype": null,
        "fsver": null,
        "label": null,
        "uuid": null,
        "fsavail": null,
        "fsuse%": null,
        "mountpoints": [
          null
        ]
      },
      {
        "name": "nvme0n1",
        "fstype": null,
        "fsver": null,
        "label": null,
        "uuid": null,
        "fsavail": null,
        "fsuse%": null,
        "mountpoints": [
          null
        ],
        "children": [
          {
            "name": "nvme0n1p1",
            "fstype": null,
            "fsver": null,
            "label": null,
            "uuid": null,
            "fsavail": null,
            "fsuse%": null,
            "mountpoints": [
              null
            ]
          },
          {
            "name": "nvme0n1p2",
            "fstype": null,
            "fsver": null,
            "label": null,
            "uuid": null,
            "fsavail": null,
            "fsuse%": null,
            "mountpoints": [
              "[SWAP]"
            ]
          },
          {
            "name": "nvme0n1p3",
            "fstype": null,
            "fsver": null,
            "label": null,
            "uuid": null,
            "fsavail": "554.2G",
            "fsuse%": "7%",
            "mountpoints": [
              "/run/host/share/icons",
              "/run/host/fonts-cache",
              "/run/host/fonts",
              "/run/flatpak/bus",
              "/tmp/.X11-unix/X0",
              "/run/host/os-release",
              "/media",
              "/usr/share/zoneinfo",
              "/etc/xdg",
              "/etc/udev",
              "/etc/tpm2-tss",
              "/etc/tmpfiles.d",
              "/etc/systemd",
              "/etc/sysctl.d",
              "/etc/ssl",
              "/etc/security",
              "/etc/rc_keymaps",
              "/etc/pulse",
              "/etc/profile.d",
              "/etc/pki",
              "/etc/pam.d",
              "/etc/modules-load.d",
              "/etc/lvm",
              "/etc/kernel",
              "/etc/init.d",
              "/etc/gtk-3.0",
              "/etc/gss",
              "/etc/geoclue",
              "/etc/fonts",
              "/etc/debuginfod",
              "/etc/dbus-1",
              "/etc/credstore.encrypted",
              "/etc/credstore",
              "/etc/binfmt.d",
              "/etc/avahi",
              "/etc/audit",
              "/etc/alsa",
              "/etc/X11",
              "/etc/xattr.conf",
              "/etc/vdpau_wrapper.cfg",
              "/etc/subuid",
              "/etc/subgid",
              "/etc/ssh_config",
              "/etc/services",
              "/etc/securetty",
              "/etc/rpc",
              "/etc/rc_maps.cfg",
              "/etc/protocols",
              "/etc/nsswitch.conf",
              "/etc/moduli",
              "/etc/mke2fs.conf",
              "/etc/login.defs",
              "/etc/libaudit.conf",
              "/etc/ld.so.conf",
              "/etc/issue.net",
              "/etc/issue",
              "/etc/ethertypes",
              "/etc/e2scrub.conf",
              "/etc/appstream.conf",
              "/etc/machine-id",
              "/usr/share/runtime/locale",
              "/usr/lib/x86_64-linux-gnu/openh264",
              "/usr/lib/x86_64-linux-gnu/GL/default",
              "/usr/lib/x86_64-linux-gnu/GL/default",
              "/usr/lib/extensions/vulkan/vkBasalt",
              "/usr/lib/extensions/vulkan/MangoHud",
              "/app/share/wine/mono",
              "/app/share/wine/gecko",
              "/app/share/runtime/locale",
              "/app/lib32/ffmpeg",
              "/app/lib/i386-linux-gnu/GL/default",
              "/app/lib/i386-linux-gnu",
              "/app/lib/ffmpeg",
              "/app/dlls/dxvk",
              "/app",
              "/usr"
            ]
          },
          {
            "name": "nvme0n1p4",
            "fstype": null,
            "fsver": null,
            "label": null,
            "uuid": null,
            "fsavail": "1.1T",
            "fsuse%": "14%",
            "mountpoints": [
              "/run/host/user-share/icons",
              "/run/host/user-fonts-cache",
              "/home/Jarza/.var/app/net.lutris.Lutris",
              "/home/Jarza/.var/app/com.valvesoftware.Steam",
              "/home/Jarza",
              "/var/tmp",
              "/var/config",
              "/var/data",
              "/var/cache"
            ]
          }
        ]
      }
    ],
    "ram": {
      "MemTotal": "65775656",
      "MemFree": "9152780",
      "MemAvailable": "50819264",
      "Buffers": "2240",
      "Cached": "42184728",
      "SwapCached": "0",
      "Active": "14012124",
      "Inactive": "37190944",
      "Active(anon)": "9894168",
      "Inactive(anon)": "0",
      "Active(file)": "4117956",
      "Inactive(file)": "37190944",
      "Unevictable": "1232",
      "Mlocked": "1232",
      "SwapTotal": "12582908",
      "SwapFree": "12582908",
      "Zswap": "0",
      "Zswapped": "0",
      "Dirty": "664",
      "Writeback": "0",
      "AnonPages": "9017848",
      "Mapped": "2036452",
      "Shmem": "878068",
      "KReclaimable": "1081960",
      "Slab": "1553488",
      "SReclaimable": "1081960",
      "SUnreclaim": "471528",
      "KernelStack": "45808",
      "PageTables": "101696",
      "SecPageTables": "6036",
      "NFS_Unstable": "0",
      "Bounce": "0",
      "WritebackTmp": "0",
      "CommitLimit": "45470736",
      "Committed_AS": "27153748",
      "VmallocTotal": "34359738367",
      "VmallocUsed": "102196",
      "VmallocChunk": "0",
      "Percpu": "22912",
      "HardwareCorrupted": "0",
      "AnonHugePages": "0",
      "ShmemHugePages": "0",
      "ShmemPmdMapped": "0",
      "FileHugePages": "0",
      "FilePmdMapped": "0",
      "CmaTotal": "0",
      "CmaFree": "0",
      "Unaccepted": "0",
      "HugePages_Total": "0",
      "HugePages_Free": "0",
      "HugePages_Rsvd": "0",
      "HugePages_Surp": "0",
      "Hugepagesize": "2048",
      "Hugetlb": "0",
      "DirectMap4k": "3886468",
      "DirectMap2M": "55805952",
      "DirectMap1G": "8388608"
    },
    "dist": [
      "GNOME",
      "45",
      "Flatpak runtime"
    ],
    "arch": "x86_64",
    "kernel": "6.10.6-gentoo-x86_64",
    "glxinfo": {
      "opengl_es_profile_shading_language_version": "OpenGL ES GLSL ES 3.20",
      "display": ":0",
      "opengl_vendor": "AMD",
      "name_of_display": ":0",
      "opengl_es_profile_version": "OpenGL ES 3.2 Mesa 24.1.3 (git-0c49f54c76)",
      "opengl_core_profile_version": "4.6 (Core Profile) Mesa 24.1.3 (git-0c49f54c76)",
      "opengl_version": "4.6 (Compatibility Profile) Mesa 24.1.3 (git-0c49f54c76)",
      "opengl_context_flags": "(none)",
      "opengl_profile_mask": "compatibility profile",
      "direct_rendering": "Yes",
      "screen": "0",
      "opengl_shading_language_version": "4.60",
      "opengl_core_profile_profile_mask": "core profile",
      "opengl_renderer": "AMD Radeon RX 7800 XT (radeonsi, navi32, LLVM 17.0.6, DRM 3.57, 6.10.6-gentoo-x86_64)",
      "opengl_core_profile_shading_language_version": "4.60",
      "opengl_core_profile_context_flags": "(none)"
    }
  }
}