# Troubleshooting Ask AI

Source: https://help.dashboardfox.com/ai-query/troubleshooting-ask-ai

Use this guide to resolve the most common Ask AI issues.

## Ask AI Doesn't Appear

Check these in order:

1. **A provider is enabled and assigned to the user** or one of their groups. Open the provider under **Settings → AI Query → Providers** and check **Assigned Groups** and **Assigned Users**.
2. **AI is turned on for the app.** Under **Settings → AI Query → Apps**, the AI mode must not be **Off**.
3. **The user's role is allowed.** Today, Composers, App Builders and Admins can use Ask AI.
4. **The category is prepared,** if **Ask AI only on prepared categories** is on for the app.

**Note:** Ask AI isn't available inside a Direct SQL document or stored procedure. Build a Virtual App on it and ask there.

## Provider Test Fails

The Test result explains what went wrong, with your vendor's own message underneath.

| Message | What to do |
|---|---|
| **The vendor rejected the API key.** | Check the API key, and the Base URL if you set one. |
| **The vendor account is out of quota or credits.** | Check billing on your vendor account. |
| **This model is not available on your vendor plan.** | Choose another model, or enable billing with the vendor. |
| **The vendor is limiting requests right now.** | Wait a minute and test again. |
| **The vendor does not know this model name.** | Select **Fetch models** and pick one from the list. |
| **The vendor is unavailable or overloaded right now.** | Try again in a few minutes, or try another model. |
| **The vendor did not answer within … seconds.** | Test again. If it repeats, try another model or raise **Timeout**. |
| **The server could not reach the vendor.** | Check the Base URL and your server's internet access, proxy and certificate settings. |
| **The vendor refused the request.** | The vendor's message explains why. Another model may accept it. |

**Tip:** Free-tier keys, especially Google Gemini, may be refused at busy times. A paid key is more reliable.

## Answer Issues

**It keeps asking "which did you mean?"** The AI can't see that field's values. Answer the question or use **@** to name the field. To fix it for good, the App Builder sets the field to **Check only** or **Share values**. More of these questions are expected when Strict privacy is on.

**It picks the wrong field.** Two fields look alike. Ask the App Builder to add a description to the right one, or hide the other. You can type **@** to name the exact field.

**The numbers look wrong.** Open **Details** and read **Built with**. Check the measure, period and filters, then refine your question.

**Two users get different numbers for the same question.** That's row-level security working. Each user sees only their own data.

**It told me to start a new question.** The conversation reached its follow-up limit. Select **Start a new question**.

**"Use this report" replaced my fields.** It loads the AI's answer in place of the current fields. Refine first, load, then edit by hand.

## Availability Issues

**AI stopped working for the rest of the day.** The app reached its **Daily token limit**. It resets the next day. An Admin can check usage in the AI Audit and raise the limit if needed.

**"The server is busy" on a Virtual App.** Several large questions are running. Wait a moment and ask again.

**"The AI model stopped before it finished its answer."** Try again. If it keeps happening, an Admin can choose another model.

**A warning says the model is no longer available.** Your vendor retired the model. An Admin opens the provider, chooses a current model, runs **Test** and saves.

**The key is blank after changing the provider type or Base URL.** This is by design. A saved key is only used for the vendor and address it was saved for. Enter it again.

## Contact Support

Select **Copy diagnostics** under the answer and paste it into your support ticket. It includes ids, status and timings, but not your question or data.

Contact us at <team@dashboardfox.com>.

## Additional Resources

- [Set Up an AI Provider](https://help.dashboardfox.com/ai-query/set-up-an-ai-provider)
- [Prepare a Category for AI](https://help.dashboardfox.com/ai-query/prepare-a-category-for-ai)
- [Build a Document with Ask AI](https://help.dashboardfox.com/ai-query/build-a-document-with-ask-ai)
