What is the difference between a notice of correction and a notice of office action during patent examination?

A correction notice is a notice issued for formal defects in the patent application document (such as the format and pictures not meeting the requirements, etc.).

A notice of examination action is a notice of substantive defects in a patent application (such as novelty, inventiveness, unity, etc.).