Hi Vitalii, thanks for sharing the solution – how did you disable html minification for json requests? Not sure if that was via a caching plugin you have, or some setting for ACF/Gutenberg. I have the same error message as you.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users