# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pynt.io/documentation/api-security-testing/pynt-scans-troubleshooting/pynt-for-postman-troubleshooting/troubleshoot-unresolved-variable-error.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
