Errors/Chain errors
InvalidCallFlags
Check the argument values against the operation schema
The flags bitmask given to seal_call or seal_delegate_call contains an unknown or disallowed combination; delegate calls accept only a restricted flag set. Check the flags argument against the supported CallFlags bit values.
Declared by the Contracts pallet; it classifies to the semantic code invalid_argument.
Remediation
Check the argument values against the operation schema
The same explanation is available in the terminal: btcli explain InvalidCallFlags.