Calling canisters without an argument requires a candid-bytes with no values?

If your canister speaks Candid (as it it should unless you have very good reasons do do otherwise), then the argument needs to be encoded in Candid – even if it is just the empty argument sequence ().

Think of a REST API expecting JSON, even if you send no values, it might require you to send "{}" or maybe "[]".

3 Likes