Plotly Request Error

I make a real time plot , which until yesterday It worked fine but now I get an error,
my code,

` import plotly.plotly as py # plotly library
from plotly.graph_objs import Scatter, Layout, Figure,Histogram # plotly graph objects
from IPython.core.display import HTML
import json
import time

py.sign_in(username, api_key)

#trace1 = Scatter(
trace1 = Histogram(
x=[],

y=[],

stream=dict(
    token=stream_token,
    maxpoints=30
)

)

layout = Layout(
title=‘NY taxi’
)

fig = Figure(data=[trace1], layout=layout)

link = py.plot(fig, filename=‘xxxxxx’, auto_open=False)
display(HTML(’’))

stream = py.Stream(stream_token)
stream.open()

while True:
try:
data=json.load(open(‘logs.txt’))
x=[]
y=[]
for i in data:
x.append(i[“total_amount”])
y.append(i[“passenger_count”])
stream.write({‘x’:x, ‘type’:‘histogram’})
time.sleep(1)
except:
pass

`

It’s a Jupyter notebook.

And the error which I get is ,

lotlyRequestError Traceback (most recent call last)
in ()
27 fig = Figure(data=[trace1], layout=layout)
28
—> 29 link = py.plot(fig, filename=‘NY taxis’, auto_open=False)
30 display(HTML(’’))
31

/usr/local/lib/python3.6/dist-packages/plotly/plotly/plotly.py in plot(figure_or_data, validate, **plot_options)
231 data = fig.get(‘data’, [])
232 plot_options[‘layout’] = fig.get(‘layout’, {})
–> 233 response = v1.clientresp(data, **plot_options)
234
235 # Check if the url needs a secret key

/usr/local/lib/python3.6/dist-packages/plotly/api/v1/clientresp.py in clientresp(data, **kwargs)
33
34 url = ‘{plotly_domain}/clientresp’.format(**cfg)
—> 35 response = request(‘post’, url, data=payload)
36
37 # Old functionality, just keeping it around.

/usr/local/lib/python3.6/dist-packages/plotly/api/v1/utils.py in request(method, url, **kwargs)
84 content = response.content if response else ‘No content’
85 raise exceptions.PlotlyRequestError(message, status_code, content)
—> 86 validate_response(response)
87 return response

/usr/local/lib/python3.6/dist-packages/plotly/api/v1/utils.py in validate_response(response)
36 message = content if content else ‘No Content’
37
—> 38 raise exceptions.PlotlyRequestError(message, status_code, content)
39
40

PlotlyRequestError: Uh oh, an error occurred on the server.