Issue
GET /api/games/user/{username} returns the generic "Page not found" SPA page (404, text/html) instead of the documented game export response.
Repro
curl -v 'https://lichess.org/api/games/user/DrNykterstein?max=1' --header 'Accept: application/x-chess-pgn'
Expected
PGN export of the user's games.
Actual
HTTP status 404, response content-type text/html, body is the standard Lichess "Page not found" page.
Ruled out
- Not account-specific -- tested different existing accounts.
- Not header-specific -- same with any/no Accept header.
- Not a general /api/ or network/DNS/TLS issue -- /api/user/{username} for example works fine
Issue
GET /api/games/user/{username} returns the generic "Page not found" SPA page (404, text/html) instead of the documented game export response.
Repro
curl -v 'https://lichess.org/api/games/user/DrNykterstein?max=1' --header 'Accept: application/x-chess-pgn'
Expected
PGN export of the user's games.
Actual
HTTP status 404, response content-type text/html, body is the standard Lichess "Page not found" page.
Ruled out