Hey, this really depends on your implementation.
In my case the form action returns two objects — the
Balance object and the corresponding
Record object. If your implementation requires only one object his is why you are getting the error “need more than one value to unpack”.
Change the function to return the object you want to redirect to.