Use "error" instead of "message".  As I said in another thread I am getting rid of that APIError enum soon so I've standardized on "error" as the key in the dictionary:

```python
return jsonify(error="something is really wrong here"), BAD_REQUEST
```