The problem is that we are not unwrapping the InvalidInput exception from the RemoteError. We should do that in the middleware so we handle all exceptions of the same kind and not just this one.
The problem is that we are not unwrapping the InvalidInput exception from the RemoteError. We should do that in the middleware so we handle all exceptions of the same kind and not just this one.