You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The trusted API should be able to update matches to include both scores and the detailed score breakdown.
Current Behavior
When I attempt to send data to TBA using the trusted API, it will not work and gives me an error: "Error": "Invalid score breakdown fields for 2024: ['autoAmpNoteCount', 'autoLeavePoints', 'autoLineRobot1', 'autoLineRobot2', 'autoLineRobot3', 'autoPoints', 'autoSpeakerNoteCount', 'autoTotalNotePoints', 'coopertitionCriteriaMet', 'endGameHarmonyPoints', 'endGameNoteInTrapPoints', 'endGameRobot1', 'endGameRobot2', 'endGameRobot3', 'ensembleBonusAchieved', 'melodyBonusAchieved', 'micCenterStage', 'micStageLeft', 'micStageRight', 'rp', 'teleopAmpNoteCount', 'teleopPoints', 'teleopSpeakerNoteAmplifiedCount', 'teleopSpeakerNoteAmplifiedPoints', 'teleopSpeakerNoteCount', 'teleopSpeakerNotePoints', 'teleopTotalNotePoints', 'totalPoints', 'trapCenterStage', 'trapStageLeft', 'trapStageRight']. Valid keys are: []"
Expected Behavior
The trusted API should be able to update matches to include both scores and the detailed score breakdown.
Current Behavior
When I attempt to send data to TBA using the trusted API, it will not work and gives me an error:
"Error": "Invalid score breakdown fields for 2024: ['autoAmpNoteCount', 'autoLeavePoints', 'autoLineRobot1', 'autoLineRobot2', 'autoLineRobot3', 'autoPoints', 'autoSpeakerNoteCount', 'autoTotalNotePoints', 'coopertitionCriteriaMet', 'endGameHarmonyPoints', 'endGameNoteInTrapPoints', 'endGameRobot1', 'endGameRobot2', 'endGameRobot3', 'ensembleBonusAchieved', 'melodyBonusAchieved', 'micCenterStage', 'micStageLeft', 'micStageRight', 'rp', 'teleopAmpNoteCount', 'teleopPoints', 'teleopSpeakerNoteAmplifiedCount', 'teleopSpeakerNoteAmplifiedPoints', 'teleopSpeakerNoteCount', 'teleopSpeakerNotePoints', 'teleopTotalNotePoints', 'totalPoints', 'trapCenterStage', 'trapStageLeft', 'trapStageRight']. Valid keys are: []"
Possible Solution
I think it is because this page has not been updated for 2024: https://github.com/the-blue-alliance/the-blue-alliance/blob/4c0fb248aed3fbed5d70420617f5c6bd313df051/src/backend/common/helpers/score_breakdown_keys.py
Steps to Reproduce (for bugs)
Context
I am trying to upload match data to TBA from a preseason event I am running where we don't have FMS, but will have match scores and score breakdowns.
Your Environment
The text was updated successfully, but these errors were encountered: