Error: Invalid keys detected in your query param struct: [NAME]. Usually this happens when you meant to serialize the struct to JSON first.
I understand the error has has to do with the attributes not matching up with the queryparam tag.
However, "name" is not a queryparam tag BUT name is the key used for named parameters.
.whereRaw(" someColumnName = :formval or someOtherColumnName = :formval",[ {name:'formval',value : rc.formval } ])