# Javascript embed form error

**URL:** <https://forum.mautic.org/t/javascript-embed-form-error/20806>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [September 9, 2021, 9:23pm UTC](https://forum.mautic.org/t/javascript-embed-form-error/20806 "2021-09-09T21:23:19Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![vincent.fr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/vincent.fr/32/6600_2.png) [@vincent.fr](https://forum.mautic.org/u/vincent.fr)\
**Post date:** [March 2, 2023, 11:14pm UTC](https://forum.mautic.org/t/javascript-embed-form-error/20806/5 "2023-03-02T23:14:22Z")

</div>

I’m using version 4.4.4

For those having the same 404 error when inserting forms using script (/media/js/mautic-form.js not found): In docroot/media/js/ there is no mautic-form.js file. There is only mautic-form-src.js . I copied it to mautic-form.js (pay attention to the change the owner of this file after that).

I don’t know if there is only a difference in the file names or the content as well.

Can someone confirm whether this is the solution?

404 error is gone for now. I have not checked yet whether the form will perform correctly.

Other threads on this topic:

[https://forum.mautic.org/t/why-has-defferences-media-js-mautic-form-src-js-and-app-assets-js-mautic-form-src-js/20941](https://forum.mautic.org/t/why-has-defferences-media-js-mautic-form-src-js-and-app-assets-js-mautic-form-src-js/20941)

[https://forum.mautic.org/t/why-has-defferences-media-js-mautic-form-src-js-and-app-assets-js-mautic-form-src-js/20941](https://forum.mautic.org/t/why-has-defferences-media-js-mautic-form-src-js-and-app-assets-js-mautic-form-src-js/20941)

---

_[View the full topic](https://forum.mautic.org/t/javascript-embed-form-error/20806)._
