---
title: "Data Source Not Found"
canonical: "https://support.appfire.com/space/SQL/74320820/Data%20Source%20Not%20Found"
format: markdown
---
> Macro (aura-html)

# Symptoms

One or more SQL Macro returns the following error:

```
Error rendering macro 'sql-query' : Data source '<NAME>' not found.
```

## Cause

Your SQL Macro is referencing an incorrect Data Source Profile name (or) the Data Source Profile has been removed. 

## Resolution

Check the Data Source Profile listing to see if the Data Source Profile name matches the dataSource name within your SQL Macro.