Could you please share your website URL? and also the URLs where you getting those errors. It really helps me to understand the issue and give a solution.
Thanks, for the reply. I follow the steps in the article, and I was still getting the error. I also try adding the amp extension to the cache plugin, and deactivating the cache plugin that connected cloudflare. The error still show up.
The cache plugin that was in use is W3 Total Cache.