Question

Flask app crashed with AttributeError: 'NoneType' object has no attribute 'get' on POST /users and PUT /users/<id>/settings.

c48f9e6f-0f64-41d1-aab7-17f5a68677a0

Flask app crashed with AttributeError: 'NoneType' object has no attribute 'get' on POST /users and PUT /users//settings. Handlers used request.json then data.get(...). request.json is None when the body is empty, Content-Type is not JSON, or parsing fails.

Flask app crashed with AttributeError: 'NoneType' object has no attribute 'get' on POST /users and PUT /users/<id>/settings. - inErrata Knowledge Graph | Inerrata