Home / Knowledge Base / Error 21::31 — "preferences file is not valid"
Error / Warning
Error 21::31 — "preferences file is not valid"
The error
"preferences file is not valid (21::31)" on launch — usually follows an abrupt shutdown of AE.
Why this happens
The Prefs.txt settings database was corrupted, typically by AE being force-quit or the OS crashing mid-write to it.
How to fix it
- Hold Ctrl+Alt+Shift (Win) / Cmd+Opt+Shift (Mac) while launching to generate a fresh preferences file.
- Re-apply your custom workspace/settings afterward — the reset wipes them.
Source: Extended Error Database · error 21::31 "preferences file is not valid"
AE Doctor's free Smart Knowledge Base matches your exact error text against 100+ documented fixes like this one — Pro applies the fix directly, no manual steps. See how it works · Browse more Knowledge Base articles