# An error occurred on the server

**URL:** <https://community.plotly.com/t/an-error-occurred-on-the-server/5030>\
**Category:** 📊 Plotly Python\
**Created:** [July 22, 2017, 6:14pm UTC](https://community.plotly.com/t/an-error-occurred-on-the-server/5030 "2017-07-22T18:14:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkreddyp](https://avatars.discourse-cdn.com/v4/letter/r/eb9ed0/32.png) [@rkreddyp](https://community.plotly.com/u/rkreddyp)\
**Post date:** [July 22, 2017, 6:14pm UTC](https://community.plotly.com/t/an-error-occurred-on-the-server/5030/1 "2017-07-22T18:14:47Z")

</div>

I am using plotly and I am intermittently getting this error.

Uh oh, an error occurred on the server. : PlotlyRequestError  
Traceback (most recent call last):  
File “/var/task/lambda\_function.py”, line 54, in lambda\_handler  
py.plot(fig, filename=‘stacked-bar-jul22-0’, auto\_open=False, fileopt=‘extend’ )  
File “/var/task/plotly/plotly/plotly.py”, line 227, in plot  
response = v1.clientresp(data, \*\*plot\_options)  
File “/var/task/plotly/api/v1/clientresp.py”, line 35, in clientresp  
response = request(‘post’, url, data=payload)  
File “/var/task/plotly/api/v1/utils.py”, line 86, in request  
validate\_response(response)  
File “/var/task/plotly/api/v1/utils.py”, line 38, in validate\_response  
raise exceptions.PlotlyRequestError(message, status\_code, content)  
PlotlyRequestError: Uh oh, an error occurred on the server.

Can you help
