Quickbooks File Repair — Error code: C=387

QuickBooks error C=387 usually points at a damaged invoice template rather than damage to your financial data. The original diagnosis on this code is specific: it tends to be an invoice template problem, and it comes with a concrete sequence for finding and clearing the bad template.

What C=387 means

QuickBooks stores form templates — invoices, estimates, statements — as structured layouts inside the company file. C=387 is raised when one of those template definitions is corrupt, so the program stalls while trying to render or save the form that uses it. Because the damage is confined to a template object, the rest of your records is normally intact, and the fix is to identify and repair the offending template.

Symptoms you'll typically see

  • The error fires when you open, edit, print, or email a specific form such as an invoice.
  • Other parts of the file work normally until that one template is used.
  • One or more templates show no name in the Templates list, or behave oddly when opened.
  • Memorized or customized templates trigger the error more often than the stock layouts.

What you can safely try first

Following the original guidance: go to Lists > Templates and use Show All at the bottom in case a template has been made inactive. Select each template and click Open Form, repeating until a template throws an error (some bad templates display no name). Close that form. Back in the Templates window, select the template with the error, then choose Templates > Edit and click Default on the right to reset its Header, Fields, Columns, and layout. If resetting clears the form, you have isolated the damaged template. Always work on a copy of the file first so you can fall back if anything goes wrong.

When professional recovery is the safer path

If resetting the template does not clear C=387, or the error recurs across multiple forms, the damage may reach deeper into the file structure than a single template. At that point, manually editing templates risks compounding the problem. Our engineers locate and rebuild the corrupt objects and return a clean, working company file, handled in-house in North America and never shipped overseas, backed by our no-data, no-charge guarantee. See how QuickBooks data recovery works, or start a recovery.