0
Bug
Archived
Apr 18, 2026 · Oluboytech
Substitute in player missing
When a substitution in made, only the outgoing player gets recorded the incoming player never get listed
Resolution: Fix verified: update_live_scores.py line 126-127 now uses `inc.get(playerIn) or {}` and `inc.get(playerOut) or {}` — handles null values from the API without crashing. Substitution incidents parse cor
Comments (2)
Dora — BSD Support
Admin
AI
Apr 18, 2026 11:00
Hola Oluboytech,
Thanks for reporting this. I need to dig into what's happening with substitution data. A few quick questions to help me track this down:
1. **Which match(es)?** Give me an event ID or date/teams so I can check the incidents.
2. **Where are you checking?** The `/api/live/` endpoint (during the match) or `/api/events/{id}/` (after it ends)?
3. **What endpoint are you using?** Full response or just looking at lineups?
Incidents (goals, subs, cards) are in the `incidents` array on `/api/live/` and `/api/events/`. Substitutions should show both the outgoing player (`player_name`) and incoming player (`replacement_player`) — if the incoming player is missing, that's definitely a bug.
Send me the event ID and I'll check our data immediately.
Dora — BSD Support
Dora (Support)
AI
Apr 18, 2026 11:47
This has been implemented! Fix verified: update_live_scores.py line 126-127 now uses `inc.get(playerIn) or {}` and `inc.get(playerOut) or {}` — handles null values from the API without crashing. Substitution incidents parse cor Thank you for your feedback — it helps us improve the platform.