# Tests & Troubleshooting

{% hint style="info" %} <sub>Most “mystery” failures are typos, wrong environment, or expired tokens. Boring fixes beat heroic narratives.</sub>
{% endhint %}

***

<h2 align="center"><sub>This page means</sub></h2>

<table><thead><tr><th width="311">This page is</th><th>This page is not</th></tr></thead><tbody><tr><td><sub>A calm playbook for operators</sub></td><td><sub>A root cause analysis for every possible vendor outage</sub></td></tr><tr><td><sub>Save, Test, Clear semantics</sub></td><td><sub>A promise that every integration will self heal</sub></td></tr></tbody></table>

<h2 align="center"><sub>What <strong>Test</strong> does?</sub></h2>

<p align="center"><sub><strong>Test</strong> asks the outside world a small question your deployment defines.</sub> <br><sub>Pass means the handshake succeeded for that moment. It is not a lifetime warranty.</sub></p>

<h2 align="center"><sub>What <strong>Remove</strong> does?</sub></h2>

<p align="center"><sub><strong>Remove</strong> deletes the stored value from ARIA for that integration. It does not delete the key at Stripe, GitHub, or any other vendor. If a secret leaked, rotate at the vendor, then <strong>Remove</strong> and <strong>Save</strong> it.</sub></p>

<h2 align="center"><sub>Common failure modes</sub></h2>

<table><thead><tr><th width="226">Symptom</th><th>Likely cause</th><th>First move</th></tr></thead><tbody><tr><td><sub>Test fails right after paste</sub></td><td><sub>Trailing space or wrong clipboard chunk</sub></td><td><sub>Paste into a scratch buffer, trim, Save again</sub></td></tr><tr><td><sub>Test fails only in prod</sub></td><td><sub>Wrong environment key or IP allow list</sub></td><td><sub>Compare labels, ask platform owner</sub></td></tr><tr><td><sub>Intermittent failures</sub></td><td><sub>Rate limits or flaky vendor region</sub></td><td><sub>Slow down, retry with backoff, check vendor status</sub></td></tr><tr><td><sub>“Configured” but flows empty</sub></td><td><sub>Downstream feature gate or missing companion key</sub></td><td><sub>Read the integration page for that flow’s full chain</sub></td></tr></tbody></table>

<h2 align="center"><sub>Never pass API keys into chats or share them</sub></h2>

{% stepper %}
{% step %} <sub>**Change one variable at a time**</sub>

<sub>Key, scope, or routing. Never all three in one save.</sub>
{% endstep %}

{% step %} <sub>**Copy errors verbatim into your ticket**</sub>

<sub>If you escalate. Paraphrase is how truth dies.</sub>
{% endstep %}

{% step %} <sub>**Rotate on suspicion, not on shame**</sub>

<sub>Security is a habit, not a mood.</sub>
{% endstep %}
{% endstepper %}

***

<h2 align="center"><sub>Ask a question</sub></h2>

<p align="center"><sub><strong>If Test failed during a live demo, what is the single sentence you would say out loud while you fix it?</strong></sub> <br><sub>Rehearse that sentence once. Calm beats clever.</sub></p>


---

# 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.ariaagi.com/settings-and-integrations/tests-and-troubleshooting.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.
