How to fix ERR_ABORTED 404 error on new contact forms in Dawn theme?

Hello,

I have been inspecting my website www.mastrozavattistore.com and I got this error

GET https://cdn.shopify.com/s/files/1/0384/5170/8035/t/93/assets/section-contact-form-return.css?8763 net::ERR_ABORTED 404

I have created two new contact forms (one for Become a Retalier and another for Request a Return) based on the contact form section. I have copied and pasted the liquid code from the contact form section and adjusted accordingly to create these 2 new contact forms.

How can I fix the problem? I am using Dawn theme 9.00

Thank you

1 Like

The error you’re encountering indicates that the CSS file section-contact-form-return.css is not found or inaccessible on the specified CDN path. This issue could be caused by several factors. Here are a few steps you can take to troubleshoot and resolve the problem:

  1. Check file existence: Ensure that the CSS file section-contact-form-return.css exists in your theme’s assets folder. Verify the filename, including capitalization and any additional characters, to make sure it matches the referenced file.

  2. Verify file location: Confirm that the CSS file is in the correct location within your theme’s assets folder. In this case, it should be located at assets/section-contact-form-return.css. Double-check the path to ensure there are no extra folders or subdirectories that might be causing the file to be inaccessible.

Thank you so much for your help!

I followed your instructions and checked the file existence in the asset folded. Indeed I needed to create the section-contact-form-return and retailer.css.

I created and added them and now the problem is gone.

Hi!

I have tried these steps and I am unsure what to do if the file is not located in the asset folder In my case it can’t find the main.css file which is actually called theme.css in my template. Should I rename the theme.css file to main.css to get rid of the 404?