# Grapesjs giving 404 error - incorrect file path referenced

**URL:** <https://forum.mautic.org/t/grapesjs-giving-404-error-incorrect-file-path-referenced/37300>\
**Category:** Mautic 6 Install/Upgrade Support\
**Created:** [February 4, 2026, 10:40am UTC](https://forum.mautic.org/t/grapesjs-giving-404-error-incorrect-file-path-referenced/37300 "2026-02-04T10:40:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lwdeddie](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lwdeddie/32/755_2.png) [@lwdeddie](https://forum.mautic.org/u/lwdeddie)\
**Post date:** [February 4, 2026, 10:40am UTC](https://forum.mautic.org/t/grapesjs-giving-404-error-incorrect-file-path-referenced/37300/1 "2026-02-04T10:40:26Z")

</div>

**Your software**  
My Mautic version is: 6.0.7  
My PHP version is: 8.1.34  
My Database type and version is: pdo\_mysql 8.0.45

**Your problem** :  
My grapesjs is giving me a 404 when attempting to upload images. I have a fresh mautic 6.0.7 installed in a subfolder. In the browser inspector panel I can see a couple of the file reference URLS that are displaying without the subfolder reference in the path. Particularly these two:

• media?page=1:1  
• /s/grapesjsbuilder/upload:1

What setting/reference/file can I access to update the proper path to these resources?

Thanks.

These errors are showing in the log: There are no errors displayed in the log

Steps I have tried to fix the problem: I have cleared cache, rebuild .htaccess files, and reviewed several grapes.js files searching for a root path reference.
