---
name: Bug Report
about: Create a report to help us improve
title: '[BUG] '
labels: bug
assignees: ''
---

## Describe the bug
A clear and concise description of what the bug is.

## To Reproduce
Steps to reproduce the behavior:
1. Import '...'
2. Call function '....'
3. Pass parameters '....'
4. See error

## Expected behavior
A clear and concise description of what you expected to happen.

## Code example
```python
# Paste your minimal reproducible code example here
from pydhis2 import get_client, DHIS2Config

# Your code that produces the error
```

## Error message
```
Paste the complete error message/traceback here
```

## Environment
- **OS**: [e.g. Windows 10, Ubuntu 22.04, macOS 13]
- **Python version**: [e.g. 3.9, 3.10, 3.11]
- **pydhis2 version**: [e.g. 0.2.0]
- **DHIS2 version**: [e.g. 2.38, 2.39, 2.40]
- **Installation method**: [e.g. pip, conda, from source]

## Additional context
Add any other context about the problem here, such as:
- Network conditions (if relevant)
- Data volume
- Specific DHIS2 configuration
- Related issues or PRs

## Possible solution
If you have ideas on how to fix this, please share them here.

