Short answer: The account path parameter is not a valid Algorand address (wrong length or checksum).
Invalid format for parameter address: error unmarshaling 'NOTANADDRESS' text as *basics.Address: decoded bad addr: NOTANADDRESS
Source: GET /v2/accounts/NOTANADDRESS, HTTP 400, captured against a public TestNet node on 2026-12-03.
Captured with GET /v2/accounts/NOTANADDRESS. The status was 400 and the message repeats the value you sent.
Wording can change between node versions. All API errors · errors.json · transaction errors · SDK errors · costs