How to Fix Model Configuration Errors
What does this error mean?
We need to look at the LookML project settings and verify that the model has the necessary and correct permissions.
Getting to the Configuration for the Model
- In the Looker IDE, open the project's model file and see which connection is specified. For example:
connection: "crunchbase"
- Click on Manage Projects link in the error dialog box. This will take you to the LookML Projects page.
You can also get to this page by going to the URLhttps://<your_looker_domain.com>/projects
or by selecting Manage LookML Projects from Develop menu in the UI:
- Find the model where you saw the error. In this example, we are working on the
operations
project. You can see the critical error in red for themarket_research
model:
- Click the Configure button to open the Edit Model Configuration page.
- View the connection(s) currently selected for the model. In our example, the error stated that "Model
market_research
is not allowed to use connectioncrunchbase
." We can see that this option is not enabled (checked). Instead, thebigquery_publicdata
connection was chosen by mistake:
- Check the box next to
crunchbase
. - As needed, adjust other connections, such as unchecking the
bigquery_publicdata
connection. - Click Save.
- Navigate back to your LookML model and click Validate LookML to verify that the Model Configuration Errors error is no longer there.