# TypeError: 'Response' object is not callable

- **ID:** `python/flask-jsonify-mimetype`
- **Domain:** python
- **Category:** type_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Misuse of jsonify or returning a response object incorrectly, often due to missing parentheses or using the wrong import.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 3.x | active | — | — |

## Workarounds

1. **Use jsonify correctly with parentheses** (100% success)
   ```
   from flask import jsonify
return jsonify({'key': 'value'})
   ```
2. **Use a dictionary directly with Flask's response** (95% success)
   ```
   return {'key': 'value'}  # Flask auto-converts dicts to JSON
   ```

## Dead Ends

- **Returning jsonify without parentheses** — jsonify is a function that must be called. (90% fail)
- **Importing jsonify from the wrong module** — Should be from flask import jsonify. (80% fail)
