I’m new to dbt, suddenly started getting this error, even after removing the macros and models I created. 13:20:27 Cloud CLI invocation created: 9079c192-fc84-49ab-8da9-2518255e628c
13:20:32 Sending event: {‘category’: ‘dbt’, ‘action’: ‘invocation’, ‘label’: ‘start’, ‘context’: [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f2e7a25a190>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f2e7a25b510>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f2e7a25b690>]}
13:20:32 Running dbt…
13:20:32 running dbt with arguments {‘printer_width’: ‘80’, ‘write_json’: ‘True’, ‘profiles_dir’: ‘./’, ‘introspect’: ‘True’, ‘send_anonymous_usage_stats’: ‘True’, ‘warn_error_options’: ‘WarnErrorOptionsV2(error=, warn=, silence=)’, ‘partial_parse’: ‘True’, ‘static_parser’: ‘True’, ‘log_cache_events’: ‘False’, ‘debug’: ‘False’, ‘warn_error’: ‘None’, ‘use_experimental_parser’: ‘False’, ‘version_check’: ‘True’, ‘target_path’: ‘target’, ‘fail_fast’: ‘False’, ‘use_colors’: ‘True’, ‘quiet’: ‘False’, ‘cache_selected_only’: ‘False’, ‘log_path’: ‘logs’, ‘invocation_command’: 'dbt ', ‘log_format’: ‘json’, ‘empty’: ‘None’, ‘no_print’: ‘None’, ‘indirect_selection’: ‘eager’}
13:20:34 Discovered Exposures:
13:20:34 Sending event: {‘category’: ‘dbt’, ‘action’: ‘project_id’, ‘label’: ‘1944238a-dc54-480c-a318-2e06c609a4ec’, ‘context’: [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f2e42ac7010>]}
13:20:34 Sending event: {‘category’: ‘dbt’, ‘action’: ‘adapter_info’, ‘label’: ‘1944238a-dc54-480c-a318-2e06c609a4ec’, ‘context’: [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f2e7c5bdc90>]}
13:20:34 Registered adapter: snowflake=1.10.0-post24+61221f455f5960daf80024febfae6d6fb4b46251
13:20:34 checksum: a386ed35a79d09998c2c29f780b6b08492c81f6259a22731ca6ab83568e93df9, vars: {}, profile: user, target: , version: 2025.8.20+b4c6324
13:20:34 Unable to do partial parsing because saved manifest not found. Starting full parse.
13:20:34 Sending event: {‘category’: ‘dbt’, ‘action’: ‘partial_parser’, ‘label’: ‘1944238a-dc54-480c-a318-2e06c609a4ec’, ‘context’: [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f2e4197e810>]}
13:20:35 Encountered an error:
the JSON object must be str, bytes or bytearray, not Undefined
13:20:35 Traceback (most recent call last):
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/cli/requires.py”, line 248, in wrapper
result, success = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/cli/requires.py”, line 158, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/cli/requires.py”, line 372, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/cli/requires.py”, line 407, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/cli/requires.py”, line 459, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/cli/requires.py”, line 498, in wrapper
setup_manifest(
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/cli/requires.py”, line 551, in setup_manifest
ctx.obj[“manifest”] = parse_manifest(
^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/parser/manifest.py”, line 2217, in parse_manifest
manifest = ManifestLoader.get_full_manifest(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/parser/manifest.py”, line 354, in get_full_manifest
manifest = loader.load()
^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/parser/manifest.py”, line 461, in load
self.parse_project(
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/parser/manifest.py”, line 789, in parse_project
parser.parse_file(block)
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/parser/base.py”, line 531, in parse_file
self.parse_node(file_block)
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/parser/base.py”, line 500, in parse_node
self.render_update(node, config)
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/parser/models.py”, line 351, in render_update
super().render_update(node, config)
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/parser/base.py”, line 477, in render_update
self.update_parsed_node_config(node, config, context=context)
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/parser/base.py”, line 350, in update_parsed_node_config
config_dict = config.build_config_dict(patch_config_dict=patch_config_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/context/context_config.py”, line 340, in build_config_dict
return src.calculate_node_config_dict(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/context/context_config.py”, line 238, in calculate_node_config_dict
config = self.calculate_node_config(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/context/context_config.py”, line 171, in calculate_node_config
result = self._update_from_config(result, config_call_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/context/context_config.py”, line 216, in _update_from_config
updated = result.update_from(translated, adapter_config_cls, validate=validate)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt_common/contracts/config/base.py”, line 175, in update_from
return self.from_dict(dct)
^^^^^^^^^^^^^^^^^^^
File “”, line 3, in mashumaro_from_dict
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/artifacts/resources/v1/model.py”, line 80, in pre_deserialize
data = super().pre_deserialize(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/artifacts/resources/v1/config.py”, line 157, in pre_deserialize
data[key] = [hooks.get_hook_dict(h) for h in data[key]]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/artifacts/resources/v1/config.py”, line 157, in
data[key] = [hooks.get_hook_dict(h) for h in data[key]]
^^^^^^^^^^^^^^^^^^^^^^
File “/venv/dbt-latest/lib/python3.11/site-packages/dbt/hooks.py”, line 19, in get_hook_dict
return json.loads(source)
^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/json/init.py”, line 339, in loads
raise TypeError(f’the JSON object must be str, bytes or bytearray, ’
TypeError: the JSON object must be str, bytes or bytearray, not Undefined
13:20:35 Resource report: {“command_name”: “parse”, “command_success”: false, “command_wall_clock_time”: 2.9879293, “process_in_blocks”: “296”, “process_kernel_time”: 1.219057, “process_mem_max_rss”: “243552”, “process_out_blocks”: “75224”, “process_user_time”: 5.315877}
13:20:35 Observability Metric: command_success=0.0: the JSON object must be str, bytes or bytearray, not Undefined
13:20:35 Observability Metric: command_wall_clock_time=2.987929344177246
13:20:35 Observability Metric: process_user_time=5.3158769607543945
13:20:35 Observability Metric: process_kernel_time=1.2190569639205933
13:20:35 Observability Metric: process_mem_max_rss=243552.0
13:20:35 Command cli parse failed at 13:20:35.855169 after 2.99 seconds
13:20:35 Sending event: {‘category’: ‘dbt’, ‘action’: ‘invocation’, ‘label’: ‘end’, ‘context’: [<snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f2e7a2a0bd0>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f2e416abe10>, <snowplow_tracker.self_describing_json.SelfDescribingJson object at 0x7f2e7b6475d0>]}
The problem I’m having
The context of why I’m trying to do this
What I’ve already tried
Some example code or error messages
Put code inside backticks
to preserve indentation
which is especially important
for Python and YAML!