Skip to Content
Menu
This question has been flagged
1 Reply
2064 Views

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
Discard

You forgot the info.

Author

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
Discard
Related Posts Replies Views Activity
1
Sep 25
2109
1
Jun 25
2128
3
Jul 25
3701
1
May 25
1810
4
May 25
3131