# Troubleshooting Bad API Requests

## Frequently Asked Questions

### How do I fix a “No Response Received” error?

See the instructions at [Troubleshooting Network Errors](/how-to/troubleshooting/troubleshooting-network-errors.md).

### My Request works in Postman. What’s wrong?

Here are the most common reasons a request works in Postman, but doesn’t work in PixieBrix:

**Incorrect use of the data** **field in PixieBrix to pass JSON**

To pass a data payload in PixieBrix, provide an object or variable:

✅ **Correct**

<figure><img src="/files/uSfLR6nIaFBUxzRwtFIB" alt=""><figcaption></figcaption></figure>

❌ **Incorrect:**

<figure><img src="/files/RLgaEFkY8LachMYstKc4" alt=""><figcaption></figcaption></figure>

**Inconsistent headers**

Postman automatically adds some headers to requests. Those headers are optional for most APIs. However, the API you’re calling might require those headers

*Uncommon: header name capitalization.* PixieBrix automatically lowercases header names. However, some APIs require certain header names to be capitalized.

**Authentication**

If your Postman request is in a Postman Collection, Postman maybe including authentication information (headers/payload) with the request

**Invalid/Self-Trusted SSL Certificate**

Your Postman might be configured not to verify the SSL certificate.

In order to enable PixieBrix to call hosts with untrusted certificates, you must instruct Chrome to trust the certificate.

* Watch: [Trusting a Self-Signed Certificate on Windows](https://www.youtube.com/watch?v=zTr64CU4wm4)


---

# 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.pixiebrix.com/how-to/troubleshooting/troubleshooting-bad-api-requests.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.
