Skip to Content
Menu
This question has been flagged
1 Odpoveď
2089 Zobrazenia

Greetings. I am trying to upload an image to replace the deafult media in a picture block but I keep getting the error info below. Any one who has dealt with this? I am using Odoo V15. The file shown at the end of the error is web/assets/1350-57bb1a9/1/-web.assets_frontend_lazy_min.js:910:55


UncaughtClientError > SyntaxError
Uncaught Javascript Error > JSON.parse: unexpected character at line 1 column 1 of the JSON data
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
jsonrpc/promise
Avatar
Zrušiť

You forgot the info.

Autor

Thanks. Corrected

Best Answer

I have had the same error. In my case it was when I tried to upload an image on my website.

The solution that worked for me was to add this parameter in my Nginx configuration file:

client_max_body_size 5M;
Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
sep 25
2311
1
jún 25
2326
3
júl 25
3820
1
máj 25
1938
4
máj 25
3283