Trying to debug error with client