$error: Bytes-To-Chars "Invalid argument"