HGL
other-emerald

Game Library not updating

I've cleared cache, reset heroic, rebooted PC, and I keep getting the following errors in the logs and my new games aren't updating in Heroic.
(21:07:34) ERROR: [Frontend]: Error: Error invoking remote method 'checkGameUpdates': SyntaxError: Unexpected end of JSON input
(21:07:35) INFO: [Frontend]: No cache found, getting data from gog...
(21:07:36) ERROR: [Frontend]: Error: Error invoking remote method 'refreshLibrary': SyntaxError: Unexpected end of JSON input
(21:07:34) ERROR: [Frontend]: Error: Error invoking remote method 'checkGameUpdates': SyntaxError: Unexpected end of JSON input
(21:07:35) INFO: [Frontend]: No cache found, getting data from gog...
(21:07:36) ERROR: [Frontend]: Error: Error invoking remote method 'refreshLibrary': SyntaxError: Unexpected end of JSON input
4 Replies
conscious-sapphire
conscious-sapphire3mo ago
check in settings > logs > epic/legendary and gog/gogdl, maybe there's some error there
other-emerald
other-emeraldOP3mo ago
GoG logs throws a json decoder error:
[3/6/2025, 1:08:42 AM] GOGDL_CONFIG_PATH=C:\Users\user\AppData\Roaming\heroic\gogdlConfig powershell -NoProfile Start-Process "`"C:\Users\user\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\x64\win32\gogdl`"" -Wait -NoNewWindow -ArgumentList "`"--auth-config-path`"","`"C:\\Users\\user\\AppData\\Roaming\\heroic\\gog_store\\auth.json`"","`"auth`""
Traceback (most recent call last):
File "gogdl\cli.py", line 67, in <module>
File "gogdl\cli.py", line 34, in main
File "gogdl\auth.py", line 22, in __init__
File "gogdl\auth.py", line 31, in __read_config
File "json\__init__.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[PYI-11256:ERROR] Failed to execute script 'cli' due to unhandled exception!
[3/6/2025, 1:08:45 AM] GOGDL_CONFIG_PATH=C:\Users\user\AppData\Roaming\heroic\gogdlConfig powershell -NoProfile Start-Process "`"C:\Users\user\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\x64\win32\gogdl`"" -Wait -NoNewWindow -ArgumentList "`"--auth-config-path`"","`"C:\\Users\\user\\AppData\\Roaming\\heroic\\gog_store\\auth.json`"","`"--version`""
1.1.2
[3/6/2025, 1:08:42 AM] GOGDL_CONFIG_PATH=C:\Users\user\AppData\Roaming\heroic\gogdlConfig powershell -NoProfile Start-Process "`"C:\Users\user\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\x64\win32\gogdl`"" -Wait -NoNewWindow -ArgumentList "`"--auth-config-path`"","`"C:\\Users\\user\\AppData\\Roaming\\heroic\\gog_store\\auth.json`"","`"auth`""
Traceback (most recent call last):
File "gogdl\cli.py", line 67, in <module>
File "gogdl\cli.py", line 34, in main
File "gogdl\auth.py", line 22, in __init__
File "gogdl\auth.py", line 31, in __read_config
File "json\__init__.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[PYI-11256:ERROR] Failed to execute script 'cli' due to unhandled exception!
[3/6/2025, 1:08:45 AM] GOGDL_CONFIG_PATH=C:\Users\user\AppData\Roaming\heroic\gogdlConfig powershell -NoProfile Start-Process "`"C:\Users\user\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\x64\win32\gogdl`"" -Wait -NoNewWindow -ArgumentList "`"--auth-config-path`"","`"C:\\Users\\user\\AppData\\Roaming\\heroic\\gog_store\\auth.json`"","`"--version`""
1.1.2
conscious-sapphire
conscious-sapphire3mo ago
maybe try running this directly on a CMD console
GOGDL_CONFIG_PATH=C:\Users\user\AppData\Roaming\heroic\gogdlConfig powershell -NoProfile Start-Process "`"C:\Users\user\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\x64\win32\gogdl`"" -Wait -NoNewWindow -ArgumentList "`"--auth-config-path`"","`"C:\\Users\\user\\AppData\\Roaming\\heroic\\gog_store\\auth.json`"","`"auth`""
GOGDL_CONFIG_PATH=C:\Users\user\AppData\Roaming\heroic\gogdlConfig powershell -NoProfile Start-Process "`"C:\Users\user\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\x64\win32\gogdl`"" -Wait -NoNewWindow -ArgumentList "`"--auth-config-path`"","`"C:\\Users\\user\\AppData\\Roaming\\heroic\\gog_store\\auth.json`"","`"auth`""
it should show the output heroic is trying to processs
other-emerald
other-emeraldOP3mo ago
Seems there's a problem with gogdl, how do I cleanup the gogdl install? The output from powershell executing the cli snippet:
Traceback (most recent call last):
File "gogdl\cli.py", line 67, in <module>
File "gogdl\cli.py", line 34, in main
File "gogdl\auth.py", line 22, in __init__
File "gogdl\auth.py", line 31, in __read_config
File "json\__init__.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[PYI-31244:ERROR] Failed to execute script 'cli' due to unhandled exception!
Traceback (most recent call last):
File "gogdl\cli.py", line 67, in <module>
File "gogdl\cli.py", line 34, in main
File "gogdl\auth.py", line 22, in __init__
File "gogdl\auth.py", line 31, in __read_config
File "json\__init__.py", line 346, in loads
File "json\decoder.py", line 337, in decode
File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[PYI-31244:ERROR] Failed to execute script 'cli' due to unhandled exception!
@arieljuod thanks for the support, the issue was a corrupted %APPDATA%/heroic/gog_store/auth.json I logged out of the GOG store and logged in and it restored access!

Did you find this page helpful?