New Project Errors - Only Connects Once


I am using an ESP8266 board with a ML8511 UV sensor to upload UV data to plotly.

The data should display here:

I am getting this error:

warning": “token not in streamObj or len(token) != 10”, “error”: “”,

Also, once the script has connected to the servers once, it fails to connect again (unless I reset my board). This is the error:

… Connecting to plotly’s streaming servers…
… Couldn’t connect to servers… trying again!

(and it loops).

Any idea on how to fix these problems?

Many thanks.