Bitbucket pipeline for dbt failed - pointing to issue within the Python env

Alyssa Zhang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 13, 2024

We have a dbt project run from Bitbucket pipeline failed. The builds were successful earlier but started failing this morning. There was no changes in the code.

Error message : 

TypeError: MessageToJson() got an unexpected keyword argument 'including_default_value_fields'
Checked Python dependency conflict or corrupted env pointing by the error message and didn't find out anything.

Screenshot 2024-03-14 145913.png

2 answers

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 15, 2024

Hi Alyssa and welcome to the community!

You can check the following knowledge base article, specifically Scenario 1: Builds were successful earlier, but started failing recently

The article includes possible causes and steps you can follow to troubleshoot a pipeline that used to be successful but started failing recently.

Please feel free to reach out if you have any questions.

Kind regards,
Theodora

0 votes
Daniel Laroue
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 17, 2024

I encountered this same issue.  It was resolved by upgrading dbt_core to 1.7.10.  See similar issue in dbt-core repo:

https://github.com/dbt-labs/dbt-core/issues/9759

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events