# Troubleshoot Target Responds with Errors Error

{% hint style="danger" %}
**At a Glance**: ⚠️ When your API target responds with errors during functional tests, it can disrupt the testing process. Use this guide to resolve underlying issues and ensure that your API targets respond correctly for smooth scans.
{% endhint %}

***

## Error: All responses from your functional test collection run returned with errors

### What Happened?

Pynt was not able to perform its analysis as the responses from the test collection run returned with errors.

### How to Resolve?

1. **Run Functional Tests Again**: Re-run the functional tests in Postman.
2. **Verify Requests**: Ensure all requests and tests are executed correctly.
3. **Check for Errors**: Look for unexpected **authentication errors** (e.g., 401, 403 responses) or **infrastructure errors** (e.g., 502, bad gateway).

***

{% 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-target-responds-with-errors-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.
