---
title: "Graphviz Diagrams for Confluence: Resolve Error Rendering Macro"
canonical: "https://support.appfire.com/space/SUPPORT/1504707353/Graphviz%20Diagrams%20for%20Confluence%3A%20Resolve%20Error%20Rendering%20Macro"
format: markdown
---
## **Issue:**

When attempting to render a Confluence macro using the Graphviz Diagrams for Confluence app, you may encounter the following error:

```
Error Rendering Macro "<macro_name>"
```

This error typically occurs when the app is not properly installed or configured on the server where Confluence is running.

## **Resolution:**

Follow the steps below to ensure Graphviz Diagrams for Confluence is properly installed, and Graphviz Diagrams for Confluence packages are configured correctly on your Confluence server. 

### Step 1: Install Graphviz Diagrams for Confluence

Ensure Graphviz Diagrams for Confluence is installed on the Confluence server and then install the following packages:

- `graphviz.rpm`
- `graphviz-graphs.rpm`
- `graphviz-gd.rpm`

Install these packages using your system’s Package Manager, or download and install the RPM files manually.

### **Step 2: Verify the Graphviz Diagrams for Confluence Installation**

After installing Graphviz Diagrams for Confluence, confirm the installation is successful and accessible in the Confluence environment.

Run the following command on the Confluence server:

```
dot -version
```

If Graphviz Diagrams for Confluence is correctly installed, you should see output similar to:

```
dot - graphviz version 2.40.1 (20161225.0304)
libdir = "/usr/local/Cellar/graphviz/2.40.1/lib/graphviz"
```

This indicates Graphviz Diagrams for Confluence is correctly configured, and the `dot` executable is available.

### Step 3:** Test Macro Rendering**

After installing Graphviz Diagrams for Confluence packages and Graphviz Diagrams for Confluence: 

- Create or edit a Confluence page
- Insert a Graphviz diagram macro

The diagram should now render without errors.