Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

atlassian/bitbucket-dependency-scanners regularly fails with an unintelligible error

Paul S
Contributor
April 14, 2025


Error logged:


INFO: Loading the scanner's results ././dependency-check-report.json
Traceback (most recent call last):
File "/pipe.py", line 277, in <module>
pipe.run()
File "/pipe.py", line 268, in run
self.create_code_insights_report()
File "/pipe.py", line 82, in create_code_insights_report
report_id = self.create_report(results_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/pipe.py", line 140, in create_report
report = self.insights.create_report(os.environ["BITBUCKET_COMMIT"], report_data=report_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/bitbucket_pipes_toolkit/annotations.py", line 89, in create_report
response.raise_for_status()
File "/usr/lib/python3.11/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)

requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://api.bitbucket.com.org/repositories/<some-link>

{"key": "report-service.report.not-found", "message": "No reports exists with the uuid provided.", "arguments": {"uuid": "{<some-uuid>}"}}


No mention of memory issues (another common failure)

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events