statsbombapi
statsbombapi copied to clipboard
ValidationError with competitions endpoint
Hello,
I got the following error when calling competitions()
with StatsbombAPI
client :
sb_client = statsbombapi.StatsbombAPI(username=username, password=password)
sb_client.competitions()
>> *** marshmallow.exceptions.ValidationError: {4: {'match_updated': ['Field may not be null.'], 'match_available': ['Field may not be null.']}, 8: {'match_available': ['Field ma
y not be null.']}, 23: {'match_available': ['Field may not be null.']}}
Does this come from a parsing problem following a StatsBomb update 😕 ?
I don't have any problem with sb_client.matches(competition_id=37, season_id=42)
for example.