Skip to content

Error parsing JSON of broadcast team match that is yet to be played #3276

@allanjoseph98

Description

@allanjoseph98

What is the problem?

Failed to load broadcast team stats due to PickException

Steps to reproduce the bug

  1. Open a broadcast with team standings enabled AND that has a match that is yet to be played.
    I used https://lichess.org/broadcast/championnat-de-france-des-clubs-2026--elimination--groupe-a/round-1/sN00qhIT#team-results but by the time you read this they may have finished a round. You'll need to view it when pairings are out but matches haven't been played yet.
  2. Go to the teams tab and tap on a team name

App version

0.24.2

Device Info

Android 16

Additional information

Caused by

points: pick('points').asStringOrThrow(),
mp: pick('mp').asDoubleOrThrow(),
gp: pick('gp').asDoubleOrThrow(),

These are all optional proprties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cat: broadcastAll things related to broadcasts

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions