Hey @Emil
I run this code to check the use of the ServersideOutput without json data:
import pandas as pd
from datetime import datetime as dt
from datetime import timedelta
from pandas_datareader import data as web
import dash_core_components as dcc
import dash_html_components as html
import plotly.graph_objects as go
from dash_extensions.enrich import Dash, Output, Input, Trigger, ServersideOutput
app = Dash()
app.layout = html.Div([
dcc.Input(id="last_ticker", value="AAPL"),
dcc.Loading(dcc.Store(id='historic_prices'), fullscreen=True, type="dot"),
dcc.Graph(id='my_graph')
])
@app.callback(ServersideOutput('historic_prices', 'data'),
[Input('last_ticker', 'value')])
def update_store(ticker):
start_date = (dt.now() - timedelta(days = 650)).strftime("%Y/%m/%d")
pricesdf = web.DataReader(ticker.strip(), data_source='yahoo', start=start_date, end=dt.now())
return pricesdf
@app.callback(Output('my_graph', 'figure'),
[Input('historic_prices', 'data')])
def update_graph(historic_prices):
figura = {"data": [go.Scatter(x=historic_prices.index, y=historic_prices.Close, line={"color": "#97151c"})],
"layout": go.Layout(autosize=True, height=305, font={"family": "Raleway", "size": 12},
margin={"r": 60, "t": 25, "b": 0, "l": 40}, titlefont={"family": "Raleway", "size": 10})}
return figura
if __name__ == '__main__':
app.run_server(debug=True)
And it works as expected:
But when I use the same info in my app, I receive the following error:

I am using:
from dash_extensions.enrich import Dash, Output, Input, Trigger, ServersideOutput, State
I can’t figure out why it has this error if it works ok in the test? 
And if I convert the DataFrame into json file it works without any Error.
Thanks again 