You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Dash with CSRFProtect from Flask-WTF no longer working after Dash 4.1 to 4.2 upgrade #3827
After upgrading Dash 4.1.0 to Dash 4.2.0 (while keeping Flask-WTF at 1.3.0) the application no longer works and creates the following exception: flask_wtf.csrf.CSRFError: 400 Bad Request: The CSRF token is missing.
Everything is working fine under Dash 4.1.0. Under Dash 4.2.0 it creates the following exception during callback execution:
Activity
camdecoster commentedon Jun 24, 2026
Thanks for the report! Our team will take a look into it, but it might take a bit.
Fix Flask-WTF/Quart-WTF CSRF exemptions broken by backend refactor
ghaarsma commentedon Jul 22, 2026
Can confirm that is has been fixed in Dash 4.4.1. Thank you @T4rk1n for the fix and new release.