# TypeError: render_template() missing 1 required positional argument: 'template_name_or_list'

- **ID:** `python/flask-typerror-render-template-missing-argument`
- **Domain:** python
- **Category:** type_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Calling render_template without any arguments; requires at least template name.

## Version Compatibility

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

## Workarounds

1. **Provide template name as first argument** (95% success)
   ```
   return render_template('index.html', name='Alice')
   ```
2. **Use named arguments** (90% success)
   ```
   return render_template(template_name_or_list='index.html', name='Alice')
   ```

## Dead Ends

- **Passing only context as positional argument** — First argument is template name, not context. (80% fail)
- **Using *args incorrectly** — Misunderstanding function signature. (60% fail)
