py-algorand-sdk ABITypeError: "malformed uint string: uint9"
Short answer: ARC-4 integer types come in multiples of 8 bits; uint9 does not exist.
The exact message
ABITypeError: malformed uint string: uint9
Source: captured locally with py-algorand-sdk 2.12.0 on 2026-12-03.
Why it happens
Captured with ABIType.from_string("uint9").
How to fix it
- Use uint8, uint16, uint32, uint64 and so on, up to uint512.
Wording can change between SDK versions. All Python SDK errors · errors.json · JavaScript SDK errors · API errors · node errors