An Error Occurred While Handling json requests python


You might face this issue while exporting records from Odoo in a CSV.

ERROR: An error occurred while handling a json request
TypeError(‘Expected bytes’)

Don’t Panic. Here is a simple solution.

Solution:

You might be facing this because of the werkzeug version (0.9.4) which is not that stable and might cause the above problem.

To overcome this try downgrading the version to (0.8.3), you can use the following command pip install werkzeug==0.8.3.

OR

Else download the file from:

https://pypi.python.org/pypi/Werkzeug/0.8.3 and install it.

Thank you!

 

For more assistance or for an Odoo consultation, message us using our enquiry form.

Share this blog:
  •  
  •  
  •  
  •  
  •  
  •  

Leave a Reply

1 Comment on "An Error Occurred While Handling json requests python"

Notify of
avatar

Sort by:   newest | oldest | most voted
Danyel Mosson
Guest
Danyel Mosson
3 years 2 months ago

Hi, just required you to know I he added your site to my Google bookmarks due to your layout. But seriously, I believe your internet site has 1 in the freshest theme I??ve came across. It extremely helps make reading your blog significantly easier.

wpDiscuz
SUBSCRIBE TO OUR BLOG
Email *