# Troubleshoot Unresolved Variable Error

{% hint style="danger" %}
**At a Glance**: ⚠️ An "Unresolved Variable" error in Pynt occurs when a variable in your API testing is undefined or not recognized. This guide helps you resolve unresolved variable issues, ensuring smooth and accurate API tests.
{% endhint %}

***

## Error: The functional tests had an unresolved variable

### What Happened?

Pynt was not able to run the test collections they had an unresolved variable/s.

### How to Resolve?

1. **Select Correct Environment**: Ensure the correct environment file is selected in the Postman UI.
2. **Resolve Variables**: Verify that all variables in the test collection are correctly defined and resolved.

***

{% hint style="info" %}
For additional support, visit [Pynt Community Support](https://www.pynt.io/community).
{% endhint %}
