Integration #5

Mon Nov 9 · 10:30 PM · source bem · Rejected · game #22 · call wc_3LtBKYhS9ce3I3jHhXWnArmjn6V · event evt_3LtBOPqW3G0duShMsWXL2Z9gsyU

rejected: some players could not be matched to the roster

Response

{
  "ok": false,
  "error": "some players could not be matched to the roster",
  "details": {
    "unresolved": [
      {
        "path": "events[1]",
        "ref": {
          "player": {
            "number": 7
          },
          "assists": [
            {
              "number": 27
            },
            {
              "number": 27
            }
          ]
        },
        "reason": "the same player appears more than once in this event"
      }
    ]
  }
}

Request

{
  "eventID": "evt_3LtBOPqW3G0duShMsWXL2Z9gsyU",
  "createdAt": "2026-11-09T22:30:50.490005Z",
  "referenceID": "<CAEETyCPZ2Av_JF9H1qVSq2A92nwnCi-Wzt_7xRVhtwJ_wQsT_g@mail.gmail.com>",
  "eventType": "payload_shaping",
  "inboundEmail": {
    "to": "eml_3Lt81LnhZRZsmwiznfUSfIkoniD@workflow.bem.ai",
    "deliveredTo": "",
    "from": "Chris Trahey <christrahey@gmail.com>",
    "subject": "Score sheet"
  },
  "functionCallID": "an_3LtBOO52X6dyZOfaclCg1Ui7BZD",
  "functionID": "f_3Lt80QKNjRVins9ptBhoZNl21Nu",
  "functionName": "leeglee-scoresheet-shape",
  "functionVersionNum": 2,
  "callID": "wc_3LtBKYhS9ce3I3jHhXWnArmjn6V",
  "callType": "workflow",
  "workflowID": "w_3Lt81OdYds3CMZZNVstNSTC8Rq1",
  "workflowName": "leeglee-scoresheet",
  "workflowVersionNum": 5,
  "metadata": {
    "durationFunctionToEventSeconds": 0.097747
  },
  "functionCallTryNumber": 1,
  "transformedContent": {
    "game": {
      "date": "11/9/26",
      "time": "7pm",
      "venue": null,
      "league": "LeeGlee",
      "lookup": "Game 22 \u00b7 LeeGlee \u00b7 11/9/26 7pm \u00b7 Chicayo LOONS vs MIL MOOSE \u00b7 null",
      "away_team": "MIL MOOSE",
      "home_team": "Chicayo LOONS",
      "game_number": "22",
      "match_score": 0.022580645161290658,
      "matched_label": "Game 22 \u00b7 Great Lakes Glee League (GLGL) \u00b7 Mon Nov 9 2026 7:00 PM \u00b7 Chicago Heights Loons (CHI) vs Milwaukee Moose (MIL) \u00b7 Chicago Heights Ice Gardens",
      "match_reasoning": "The game ID (22), date (11/9/26), time (7pm), home team (Chicayo LOONS vs Chicago Heights Loons), and away team (MIL MOOSE vs Milwaukee Moose) all match. 'Chicayo' is a clear typo for 'Chicago', and 'LeeGlee' is a plausible abbreviation or misspelling of 'Great Lakes Glee League (GLGL)'.",
      "matched_game_id": 22,
      "match_confidence": 0.98
    },
    "final": null,
    "goals": [
      {
        "team": "H",
        "time": "10:15",
        "period": "1",
        "scorer": {
          "name": null,
          "number": "7",
          "roster_entry_id": 84,
          "match_confidence": 0.9
        },
        "assists": [
          {
            "name": null,
            "number": "9"
          },
          {
            "name": null,
            "number": null
          }
        ],
        "strength": "EV"
      },
      {
        "team": "H",
        "time": "19:01",
        "period": "1",
        "scorer": {
          "name": null,
          "number": "7",
          "roster_entry_id": 84,
          "match_confidence": 0.95
        },
        "assists": [
          {
            "name": null,
            "number": "27"
          },
          {
            "name": null,
            "number": "27"
          }
        ],
        "strength": "PP"
      },
      {
        "team": "A",
        "time": "5:21",
        "period": "2",
        "scorer": {
          "name": null,
          "number": "2",
          "roster_entry_id": 98,
          "match_confidence": 1
        },
        "assists": [
          {
            "name": null,
            "number": null
          },
          {
            "name": null,
            "number": null
          }
        ],
        "strength": "SH"
      }
    ],
    "notes": null,
    "shots": {
      "away": [
        null,
        null,
        null,
        null
      ],
      "home": [
        null,
        null,
        null,
        null
      ]
    },
    "format": "leeglee.sheet.v1",
    "goalies": null,
    "penalties": [],
    "final_score": null
  }
}