fehlerhaft
faulty
Having one or more errors, flaws, or defects. Something that is not correct or does not work properly.
Die Software war fehlerhaft und stürzte ständig ab.
The software was faulty and kept crashing.

faulty
Loading your saved state.
faulty
Having one or more errors, flaws, or defects. Something that is not correct or does not work properly.
Die Software war fehlerhaft und stürzte ständig ab.
The software was faulty and kept crashing.

The adjective 'fehlerhaft' (faulty) consists of the noun 'der Fehler' (the error/mistake) and the suffix '-haft'. The suffix '-haft' means 'full of' or 'characterized by', so something is 'fehlerhaft' (faulty) if it has errors.
Das Dokument war fehlerhaft und musste korrigiert werden.
The document was faulty and had to be corrected.
'Fehlerhaft' (faulty) is often used to describe technical products, data, or formal documents. Typical combinations are 'fehlerhafte Software' (faulty software), 'fehlerhafte Ware' (faulty goods), or 'fehlerhafte Daten' (faulty data).
Der Kunde schickte das fehlerhafte Produkt an den Hersteller zurück.
The customer sent the faulty product back to the manufacturer.
The word 'fehlerhaft' (faulty) belongs more to written language or to formal and technical contexts. It is often used in reports, complaints, or IT.
Laut dem Gutachten war die Konstruktion von Anfang an fehlerhaft.
According to the expert report, the construction had been faulty from the very beginning.
correct / right
'richtig' and 'fehlerhaft' are opposites here. 'richtig' means that something is correct, contains no error, or corresponds to the truth. 'fehlerhaft' means that something has an error, flaw, or defect. 'richtig' fits well with answers, details, or solutions. 'fehlerhaft' is often used with texts, data, calculations, devices, or products when something is not correct or does not work properly.

Der Bericht ist fehlerhaft, weil mehrere Namen falsch geschrieben sind.
The report is faulty because several names are spelled incorrectly.
Taras Lösung ist richtig, weil alle Zahlen stimmen.
Tara's solution is correct because all the numbers are right.