Missing final else if no params was provided to getClient