Fix ticket 331, good error path is set now in client