During export we validate AMP pages using amphtml-validator. Errors received from the validator will fail the export.
Validation errors will cause pages to not be indexed by AMP Caches.
Look at the error messages and follow their appropriate links to learn more about the error and how to correct the problem.