# Response cleaning

Some APIs return data, in a format that is incorrect JSON, as it contains [function character](https://www.barcodefaq.com/ascii-chart-char-set/#:~:text=The%20characters%20from%20ASCII%200%20to%2031%20are%20commonly%20referred%20to%20as%20function%20characters%20because%20they%20perform%20functions%20instead%20of%20a%20printed%20characters.%20Normally%2C%20these%20characters%20are%20not%20visible%20unless%20an%20application%20is%20used%20such%20as%20IDAutomation%E2%80%99s%20Barcode%20Scanner%20ASCII%20String%20Decoder), and thus can't be parsed as JSON.

In order to be able to parse these responses to JSON, all function characters (except for the characters for 9 `(\t,` tab), 10 (`\n`, newline), and 13 (`\r`, carriage return)) are automatically removed from responses.


---

# 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.locoia.com/automation/flow-builder/connectors-and-apis/response-cleaning.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.
