hi ,
the error means exactly what it says: Some element, which is expected to be a hash reference, is something else.
Looks like you stuffed something into the method, which does not comply to the structure the generated class expects - but I can't tell without knowing what you passed in.
Martin