This message was deleted.
# secoda-support
w
This message was deleted.
a
Copy code
Initialization: 
'bytes' object has no attribute 'get'
Traceback (most recent call last):
  File "/app/databuilder/models.py", line 89, in process
    connection.extract(databuilder_job=self)
  File "/app/integration/connections/base.py", line 529, in extract
    self.extract_metadata()
  File "/app/integration/connections/dbt/dbt.py", line 387, in extract_metadata
    self._extract_manifest_metadata()
  File "/app/integration/connections/dbt/dbt.py", line 80, in _extract_manifest_metadata
    for table_node, manifest_node in manifest.get("nodes", {}).items():
AttributeError: 'bytes' object has no attribute 'get'
b
Thanks for reporting Morgan, cc @elegant-house-93198
e
Hey @astonishing-secretary-34860, we’ll investigate into this issue and let you know when we’ve found a resolution. Thank you for reporting it
a
thanks Andrew!
Hi @elegant-house-93198 any updates here?
c
it seems like I am similarly unable to upload my manifest.json, as this:
Copy code
response = <http://requests.post|requests.post>(
        "<https://api.secoda.co/integration/dbt/manifest/>",
        files={
            "manifest_file": open(
                f"{os.getcwd()}/sources/{dataset}/target/manifest.json", "rb"
            )
        },
        data={
            "integration": <my_integration_id>,
        },
        headers=headers,
    )
returns a 500 response. Even if I try to supply the file manually to the integration via the web UI, the extraction runs but nothing from dbt appears anywhere
another note, the documentation says the json key is
"integration_id"
but the endpoint requires
"integration"
e
Hey @astonishing-secretary-34860 we don’t have an update right now, but I’ll be working on a fix first thing tomorrow. Similar for your issue @careful-balloon-73032, so I’ll update you both in this thread after we push those changes tomorrow.
d
@able-piano-19037
👀 1
b
Hi @astonishing-secretary-34860 - this should be resolved now, let us know if you experience any further issues!
d
@breezy-breakfast-2643 we have error 500 now on our side
b
@dazzling-tent-2342 - thanks for letting us know - @elegant-house-93198 flagging this for you
e
Thanks @dazzling-tent-2342 we’ll take another look into the issue today
Hey @dazzling-tent-2342 when you say you have an error 500 you’re not referring to the integration right? I’m having difficultly creating a 500 error for the dbt core integration