Mo
08/05/2025, 7:07 AMkapa.ai
08/05/2025, 7:07 AMkapa.ai
08/05/2025, 7:07 AMMo
08/05/2025, 7:08 AMwarning: (will error post beta) dbt1060: While parsing config: Ignored unexpected key `"meta"`. YAML path: `meta`.
--> dbt_packages/elementary/models/run_results.yml:139:5
error: dbt1501: Failed to render SQL No method named 'to_dict' for 'Map'
(in dbt_packages/elementary/macros/edr/system/hooks/on_run_end.sql:25)
(in dbt_packages/elementary/macros/edr/dbt_artifacts/upload_dbt_invocation.sql:22)
(in dbt_packages/elementary/macros/edr/dbt_artifacts/upload_dbt_invocation.sql:131)
--> dbt_packages/elementary/macros/edr/dbt_artifacts/upload_dbt_invocation.sql:131:1
warning: dbt1000: Warnings marked (will error post beta) will turn into errors before leaving beta. Please fix them.
Output: suggestion: Try the autofix script: <https://github.com/dbt-labs/dbt-autofix>
Finished 'show' with 1 error and 1 warning in 2s 24ms 683usMo
08/05/2025, 7:08 AMkapa.ai
08/05/2025, 7:08 AMMo
08/05/2025, 7:08 AMwarning: (will error post beta) dbt1060: While parsing config: Ignored unexpected key `"meta"`. YAML path: `meta`.
--> dbt_packages/elementary/models/run_results.yml:139:5
error: dbt1501: Failed to render SQL No method named 'to_dict' for 'Map'
(in dbt_packages/elementary/macros/edr/system/hooks/on_run_end.sql:25)
(in dbt_packages/elementary/macros/edr/dbt_artifacts/upload_dbt_invocation.sql:22)
(in dbt_packages/elementary/macros/edr/dbt_artifacts/upload_dbt_invocation.sql:131)
--> dbt_packages/elementary/macros/edr/dbt_artifacts/upload_dbt_invocation.sql:131:1
warning: dbt1000: Warnings marked (will error post beta) will turn into errors before leaving beta. Please fix them.
Output: suggestion: Try the autofix script: <https://github.com/dbt-labs/dbt-autofix>
Finished 'show' with 1 error and 1 warning in 2s 24ms 683uskapa.ai
08/05/2025, 7:08 AMkapa.ai
08/05/2025, 7:09 AMwarning: (will error post beta) dbt1060: While parsing config: Ignored unexpected key `"meta"`. YAML path: `meta`. This warning means that dbt is now stricter about unexpected keys in YAML config files. The "meta" key in your run_results.yml is being ignored and will cause an error in future dbt versions. This is a warning for now, but you should remove or update the "meta" key in your YAML to avoid future issues. 2. Error: No method named 'to_dict' for 'Map': error: dbt1501: Failed to render SQL No method named 'to_dict' for 'Map' (in dbt_packages/elementary/macros/edr/system/hooks/on_run_end.sql:25) (in dbt_packages/elementary/macros/edr/dbt_artifacts/upload_dbt_invocation.sql:22) (in dbt_packages/elementary/macros/edr/dbt_artifacts/upload_dbt_invocation.sql:131) This error is due to the use of the to_dict method on a Jinja Map object, which is not supported in recent dbt versions. This is a known issue that has been reported when using newer dbt versions with certain releases of Elementary. The Elementary team has addressed similar issues in past releases by updating their macros to be compatible with dbt's changes. What you should do: - Upgrade Elementary: Make sure you are using the latest version of the Elementary dbt package. The team regularly releases updates to maintain compatibility with new dbt versions. After upgrading, run: dbt deps dbt run --select elementary This process has resolved similar macro compatibility issues for other users after upgrading Elementary and running the above commands [Github Issue: dbt compile failed after installing elementary-data](https://github.com/elementary-data/elementary/issues/1427). - Check for breaking changes in dbt: If you are using a beta or very recent version of dbt, some features or methods (like to_dict) may have been removed or changed. If upgrading Elementary does not resolve the issue, you may need to temporarily use an earlier dbt version that is known to be compatible with your Elementary package. - Remove or update the "meta" key: Edit your run_results.yml to remove or properly configure the "meta" key as per dbt's latest documentation, since it will soon cause errors. If after upgrading you still encounter the error, please check the Elementary release notes or Slack community for any hotfixes or workarounds for your specific dbt version. If you need more targeted help, please provide your dbt and Elementary versions, as compatibility is often the root cause of these issues.