I have a Hubspot page with a Hubspot form that has some javascript embedded and 2 javascript files linked to the template. On submit, the form sends to a remote proxy. That was working correctly then, for no reason I can ascertain, the page started showing errors like this for all the attached scripts, not just mine:
The resource https://code.jquery.com/jquery-3.6.0.min.js was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
Any thoughts on what’s going on here? Thanks for any suggestions.
Steve
Hi @SRalston05,
Make sure the `<link rel=“preload”>` tag for your JavaScript files includes `as=“script”`. If it’s missing or incorrect, that could trigger this issue.
Can you add as=“script” to your jquery link?
Hi @SRalston05,
It is just a browser performance warning, not an actual script loading or execution error.
You can remove this warning by adding the “as” attribute with the value “script” in the preload tag.
like this <link rel=“preload” href=“https://code.jquery.com/jquery-3.6.0.min.js” as=“script”>
or if possible, you can simply use a regular script tag instead:
<script src=“https://code.jquery.com/jquery-3.6.0.min.js”></script>
I came back to this issue today and the form is submitting fine and not throwing any errors. I read that Google had several wide-spread service outages Friday afternoon my time, so i wonder if that was causing problems. Regardless, thank you all for your input, it’s useful info that I will hold onto.
Hi @SRalston05 and thanks for sharing this information with the HubSpot Community! 
Have a great day and I look forward to seeing you around the Community!
Bérangère
Hi @SRalston05, please let us know if any of the suggestions worked or if you need additional help?
Thanks everybody for your contributions! 
Have a lovely day!
Bérangère