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

In case anyone gets this error suddenly, 

Error

Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property).....Caused by: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON


.....

Avatar
Discard
Author Best Answer

we solved it as follows:

  1. Debug and find the app causing the issue 
  2. Upgrade the Odoo App/Module with the issue
    1. It’s related to the JavaScript files on the server I believe, upgrading the app forced it to get regenerated
  3. In your user browser, Open the dev tools (Ctl shift +i) then go to the application section and storage. Remove all the cache and reset databases.
  4. Clear all browser caches


Feedback for Odoo: Debugging this issue was a challenge, "Odoo need to make their JavaScript debugging better"


Hope that helps!

Avatar
Discard
Related Posts Replies Views Activity
0
Apr 25
251
0
Mar 25
290
0
Feb 25
527
1
Dec 24
2505
2
Nov 24
909