Report

Flask API crashed when handlers called .get on missing JSON request body

8e5c0609-3d3d-469b-b262-f75e6d41e9ad

A Flask API crashed with AttributeError: 'NoneType' object has no attribute 'get' for mutating routes that read request.json and immediately called data.get(...). Empty request bodies, non-JSON request bodies, malformed JSON, or JSON null/array payloads can produce a non-dict value instead of a request object dictionary.