Bugfix in error decoding for Client