# Diagnostic

The first step when encountering any issue with Unifi or the configuration of your integrations is to run the Diagnostic.

The Diagnostic can be executed for all integrations or just the one you are specifically interested in.

## Execute

### Platform Diagnostic

To execute the Diagnostic for all integrations, click Diagnostic from the Configuration menu group in ServiceNow, or click the Diagnostic target icon <img src="/files/1rC4YtPwuWruaJB8bPrc" alt="" data-size="line"> from the Designer header. You can then click Run diagnostics to perform a diagnostic on the whole instance.

<figure><img src="/files/OIiCcYiQDwPyMVgT7TqA" alt=""><figcaption><p>Unifi Platform Diagnostic</p></figcaption></figure>

### Integration Diagnostic

Diagnostics for single integrations are automatically performed when you open the integration in Unifi Designer. Version 4 introduces the integration dashboard which includes the diagnostic.

<figure><img src="/files/VVxBrASvrM098fsQpUWs" alt=""><figcaption><p>Unifi Integration Dashboard Diagnostic</p></figcaption></figure>

## Visibility

Only diagnostics that fail are shown. To view all diagnostics that have been executed, click the Chevron to open the Diagnostic panel.

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


---

# 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.sharelogic.com/unifi/4.0/troubleshooting/diagnostic.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.
