Error Assist
Error Assist explains LaTeX errors and suggests fixes directly in the editor. When a compile error occurs, you can ask Error Assist for an explanation and, in most cases, a suggested fix.
Last updated
Was this helpful?
Error Assist explains LaTeX errors and suggests fixes directly in the editor. When a compile error occurs, you can ask Error Assist for an explanation and, in most cases, a suggested fix.
When your document has a LaTeX error, an error marker appears in the editor margin. You can also find errors in the Logs and output files panel.
Fix errors in order from the top of your document—earlier errors can affect how later ones appear.
To get a fix from Error Assist:
Select the error marker in the editor margin, or open Logs and output files.

Select Suggest fix. Error Assist explains the error and shows a suggested fix—the affected lines appear in red, with the suggested change in green.
Review the suggestion. If it doesn't look right, select the refresh icon to generate a new one.
Select Apply suggestion to apply the fix. Your document recompiles automatically.
You can rate the quality of a response using the thumbs up / thumbs down buttons.
To learn more about Error Assist, enroll in our free, self-paced course Leveraging Overleaf AI.
Each "Suggest fix" invocation counts as one use from your shared daily AI allowance. When the allowance is used up, a notification appears in the error panel showing when it resets and the option to upgrade.
Error Assist is powered by OpenAI. The following is sent when you request a fix:
The full error message
Relevant lines of code from your project
A list of file names in your project
Nothing is sent until you select Suggest fix. Your data is never used to train AI models.
Why can't I see "Suggest fix" for some errors? Error Assist needs the full error message from the logs to generate a fix. It doesn't appear for code-check errors that show as you type.
The suggested fix didn't work. AI can misinterpret custom or specialised LaTeX. Always review a suggestion before applying it. If the fix isn't right, use the refresh icon to try again, or see [fixing LaTeX errors] for more help.
Can I undo an applied fix? Yes—use Undo in the toolbar or Ctrl/Cmd+Z.
Last updated
Was this helpful?
Was this helpful?