Short answer: The transaction note must be bytes (a Uint8Array), not a string.
Not a Uint8Array: hello
Source: Error, captured locally with algosdk 3.9.0 on 2026-12-03.
The capture passed note: "hello" and got "Not a Uint8Array: hello". The message prints the value you passed.
new TextEncoder().encode("hello").Wording can change between SDK versions. All SDK errors · errors.json · node errors · x402 errors.