Answer:
The sentence that shows that Ptolemy's theory was flawed, but he was still the undisputed authority on astronomy for centuries is:
"No important correction was made of the serious errors with which Ptolemy's theories were contaminated."
This sentence acknowledges the presence of serious errors in Ptolemy's theories, indicating their flaws, while also emphasizing that his authority endured for a long time despite these flaws.