Add temporary error for invalid request

It should be fixed for sending error message to client.