This happens when the HubiC server has an error. It starts to return a HTML error page (which starts with <html>
) and this is obviously not valid JSON data, hence the error message.
Once the HubiC server recovers, it returns JSON again and the error goes away.