Crépuscule des idoles
In "Twilight of the Idols" Nietzsche demonstrates the "error of false causality" just before the "error of free will":