Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2065 Tampilan

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
Buang

You forgot the info.

Penulis

Thanks. Corrected

Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Sep 25
2119
1
Jun 25
2139
3
Jul 25
3707
1
Mei 25
1817
4
Mei 25
3137