Dbt: 'NoneType' object has no attribute 'get' on non-empty profiles.yml

Created on 13 May 2020  路  2Comments  路  Source: fishtown-analytics/dbt

On running
dbt run
I get the following error

Running with dbt=0.16.1
Encountered an error:
'NoneType' object has no attribute 'get'

Issue #555 stated that this happens when profiles is empty, but that isn't the case here. I'm following this guide

I'm using bigquery, dbt 0.16.1, and python 3.7.7 on OS Catalina 10.15.2

bug

All 2 comments

That guide is wrong, its example is missing important whitespace. The example profiles.yml should actually look like this:

my-bigquery-db:
  target: dev
  outputs:
    dev:
      type: bigquery
      method: service-account
      project: happy-vegetable-211094
      dataset: soCleaned
      threads: 1
      keyfile: /users/matt/BigQuerykeyfile.json
      timeout_seconds: 300

edit: It appears the underlying google doc is right (you can see it if you click on the "give feedback" link), but it renders incorrectly on the web page.

This fixed the issue - appreciate the prompt response!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

clrcrl picture clrcrl  路  3Comments

whittid4 picture whittid4  路  3Comments

chrisburrell picture chrisburrell  路  3Comments

jgillies picture jgillies  路  3Comments

drewbanin picture drewbanin  路  3Comments