--- id: d5b6584e-ae9d-4462-aeb0-eac103156dfc type: fix title: "Fix: SBA API transaction move_id is a string not i64" tags: [sba-scout, rust, api, serde, fix, transactions] importance: 0.6 confidence: 0.8 created: "2026-02-28T16:52:56.737424+00:00" updated: "2026-02-28T16:53:47.424726+00:00" relations: - target: 4dc83eed-b0b1-4924-b82e-faf352426785 type: RELATED_TO direction: outgoing strength: 0.8 edge_id: 5fb91cf0-1aa3-4e71-af81-29c1e43730a9 - target: 23121a41-790a-4bf3-9a4b-39f299bc4015 type: RELATED_TO direction: incoming strength: 0.9 edge_id: e740a946-4100-4771-8449-61ab13896587 --- # Transaction move_id as String **Project:** sba-scout (Rust) | **Commit:** `60b397b` ## Problem The SBA league API returns transaction `moveid` as a formatted string like `"Season-013-Week-11-1772073335"`, not an integer. Deserializing as `Option` panics/errors. ## Fix Changed `move_id` from `Option` to `Option` in `api/types.rs` `TransactionData` struct. ## Pattern Don't assume numeric-looking field names in an API are actually integers. Inspect real API responses before choosing Rust types. Transaction/move identifiers often encode semantic information as composite strings.