The number of parameters of a TaggedValue must be the same as the number of parameters defined in the TaggedValue type.
The TaggedValue TagType defines the number of parameters a TaggedValue can have.
Verify the number of arguments of the TaggedValue in question.