<@U08MC1K863B> Hey all, i am getting this error to...
# ask-elementary-ai
n
@Rashmi Auradkar Hey all, i am getting this error today but it was working fine till yesterday PS C:dbt_workspace\elementary> dbt test 142937 Running with dbt=1.9.4 142937 target not specified in profile 'elementary', using 'default' 142937 target not specified in profile 'elementary', using 'default' 142941 Registered adapter: bigquery=1.9.1 142941 Registered adapter: bigquery=1.9.1 142944 [WARNING]: Configuration paths exist in your dbt_project.yml file which do not apply to any resources. 142944 [WARNING]: Configuration paths exist in your dbt_project.yml file which do not apply to any resources. There are 1 unused configuration paths: - models.elementary.example 142945 Found 35 models, 2 operations, 6 sources, 1562 macros 142945 Nothing to do. Try checking your model configs and model specification args
k
A message from kapa.ai
Based on the error message you're seeing, it appears that your Elementary Data configuration has an issue with the schema configuration in your dbt_project.yml file. This is a common issue that several users have encountered. The warning message indicates that there are configuration paths in your dbt_project.yml file that don't apply to any resources, specifically "models.elementary.example". This suggests that your Elementary schema configuration might not be set up correctly. Here are a few things to check: 1. Make sure your dbt_project.yml has the correct Elementary schema configuration. It should look like this:
Copy code
yaml models:   elementary:     +schema: "elementary"
The schema configuration should be at the correct indentation level, directly under models, not nested under another project name or with additional nesting like "example" [Slack forum discussion](https://slack.com/archives/C02CTC89LAX/p1691614851612199). 2. Check that you have the Elementary package properly installed in your packages.yml file. 3. Verify that you have an "elementary" profile in your profiles.yml file. The error "target not specified in profile 'elementary', using 'default'" suggests that either: - You don't have an elementary profile defined - The elementary profile doesn't have a target specified [Slack forum discussion](https://slack.com/archives/C02CTC89LAX/p1680035534817339) Your profiles.yml should include an elementary profile section like:
Copy code
yaml elementary:   outputs:     default:       type: bigquery       # other connection details   target: default
4. Try running
dbt run -s elementary
to specifically build the Elementary models, which might provide more detailed error information. If you've recently upgraded Elementary, make sure your configuration is compatible with the new version. Some users have reported similar issues after upgrading [Github Issue](https://github.com/elementary-data/elementary/issues/1702). Let me know if making these changes resolves your issue! I'm here to help if you need further assistance with your Elementary Data configuration.