API add_host unicode issue when disable Services

Hi
Yes i did it with exactly like this, Host is added, everything is working,
but for some functions (like the disable Service) the error occurs
Kind regards