Bug 511824

Summary: RPGGeek API now needs bearer token
Product: [Applications] tellico Reporter: Stewart Webb <stew>
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED FIXED    
Severity: normal CC: dan, KDE-BT
Priority: NOR    
Version First Reported In: 4.1.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 4.2
Sentry Crash Report:

Description Stewart Webb 2025-11-08 13:22:08 UTC
SUMMARY
The RPGGeek Integration has stopped working and now throws the following error:
"Access denied to https://rpggeek.com/xmlapi2/search?query=mysearchstring&type=rpgitem."

I suspect this is due to the change here:
https://boardgamegeek.com/thread/3539581/xml-api-read-this-for-uninterrupted-access

where this API is now requiring a bearer token.

It appears this is also true for the boardgamegeek API, which responds with:
"Access denied to https://boardgamegeek.com/xmlapi2/search?query=mysearchstring&type=boardgame,boardgameexpansion."

STEPS TO REPRODUCE
1. Search for anything using either rpggeek or boardgamegeek connector
2. 
3. 

OBSERVED RESULT
Access denied exception

EXPECTED RESULT
Response to the query

SOFTWARE/OS VERSIONS
KDE Plasma on Arch Linux
Comment 1 KDE-BT 2025-11-22 20:43:03 UTC
(In reply to Stewart Webb from comment #0)
> I suspect this is due to the change here:
> https://boardgamegeek.com/thread/3539581/xml-api-read-this-for-uninterrupted-
> access
> 
> where this API is now requiring a bearer token.
> 
> It appears this is also true for the boardgamegeek API, which responds with:
> "Access denied to
> https://boardgamegeek.com/xmlapi2/search?query=mysearchstring&type=boardgame,
> boardgameexpansion."

Can confirm access denied for boardgamegeek API.
Comment 2 Robby Stephenson 2025-11-24 00:34:09 UTC
Git commit 5e98ebf34c867621aa7b0d3a93cde1c77a8366d9 by Robby Stephenson.
Committed on 24/11/2025 at 00:33.
Pushed by rstephenson into branch 'master'.

Refactor BGG API data source and include bearer token

Refactor into a base class for all BGG data types. Many of the widgets
and options are the same so use the base class when possible. Add the
user option for the authorization token which is now required.
FIXED-IN: 4.2

M  +4    -0    ChangeLog
M  +1    -0    src/fetch/CMakeLists.txt
C  +108  -71   src/fetch/abstractbggfetcher.cpp [from: src/fetch/videogamegeekfetcher.cpp - 057% similarity]
C  +21   -22   src/fetch/abstractbggfetcher.h [from: src/fetch/rpggeekfetcher.h - 077% similarity]
M  +6    -180  src/fetch/boardgamegeekfetcher.cpp
M  +4    -42   src/fetch/boardgamegeekfetcher.h
M  +6    -181  src/fetch/rpggeekfetcher.cpp
M  +4    -42   src/fetch/rpggeekfetcher.h
M  +9    -203  src/fetch/videogamegeekfetcher.cpp
M  +4    -42   src/fetch/videogamegeekfetcher.h
M  +9    -0    src/tests/CMakeLists.txt
M  +9    -1    src/tests/boardgamegeekfetchertest.cpp
M  +5    -0    src/tests/boardgamegeekfetchertest.h
M  +9    -11   src/tests/rpggeekfetchertest.cpp
M  +5    -0    src/tests/rpggeekfetchertest.h
M  +8    -1    src/tests/videogamegeekfetchertest.cpp
M  +5    -0    src/tests/videogamegeekfetchertest.h

https://invent.kde.org/office/tellico/-/commit/5e98ebf34c867621aa7b0d3a93cde1c77a8366d9
Comment 3 Robby Stephenson 2025-12-14 02:03:44 UTC
*** Bug 513328 has been marked as a duplicate of this bug. ***