Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Figures not updating from dropdown

I have deployed a dash app through heroku however it has major issues updating the figures from the drop down menu. Here is the link to the app: https://pap-map-type-distributions.herokuapp.com/

I have the same problem on another dash app deployed through heroku. I’d really like to resolve this as it renders the dash app useless because it can’t be deployed publicly. It runs perfectly fine locally.

I’ve checked the heroku logs and seems I get an HTTP error of 403 when the update does not work. If I keep trying the figures will eventually update.How do I resolve this HTTP 403 issue?

I resolved the issue. It was related to the csrf_protect. Needed to be set to False.

app = dash.Dash(csrf_protect=False)

@dfay88 - Note that if you upgrade to the latest dash, this is no longer needed (https://plot.ly/dash/installation)