Cannot upload images
The upload endpoint should return a JSON, your seems to return an HTML
Read full answer below ↓Question
Hi, while uploading an image through asset manager, I get the following error:

Assetmanager configuration at editor init looks like

Folder exists and is writable. Can you please help? Many thanks for this excellent software beside this issue :-)
Answers (3)
The upload endpoint should return a JSON, your seems to return an HTML
OK, many thanks, don't know how to solve this.. I'm using a normal apache server on localhost for tests and believe that this endpoint does not answer at all. I will try to implement your solution to the yii2 framework, there I can handle the json response of the endpoint. Many thanks for the imput...
@gasserol you can refer to my code Here I was able to upload and retrieve files.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #362
How to create custom link components that prompts users to type link/choose link similar to Images Component Modal
Image Components have logic to call Modal and prompt user's interaction for options/configuration of image url. Would like to do similar to...
Issue #692
After pull the new commit, the grapesjs not working on IE and show following error.
Hi @artf , After pull the new commit, i get the error on IE, can you please take a look for this? Thanks.
Issue #646
Images dropped onto image picker get uploaded twice
Set the asset manager with the dropzone option set to true (which is true by default), something like that: then drop an image onto the dro...
Issue #1070
[QUESTION] Image insert blocked
I'm trying to build a website with grapesjs and now i'm facing the problem, that i can't insert any image from my PC. When i try to upload...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Related tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.