Hey
I wanted to try the new sentry code report pipe for bitbucket.
https://bitbucket.org/product/features/pipelines/integrations?p=sentryio/sentry-code-report
But I can not seem to get it to work. I always get a 403 error:
Something went wrong!
BITBUCKET_PR_ID: 287
BITBUCKET_COMMIT [REDACTED]
BITBUCKET_WORKSPACE [REDACTED]
BITBUCKET_REPO_SLUG [REDACTED]
('Bitbucket request failed with status: 403', <Response [403]>)
Traceback (most recent call last):
File "/usr/bin/insights.py", line 101, in <module>
CodeInsights().generate_report()
File "/usr/bin/insights.py", line 39, in generate_report
results = self.fetch_diff()
File "/usr/bin/insights.py", line 35, in fetch_diff
raise Exception('Bitbucket request failed with status: {}'.format(results.status_code), results)
Exception: ('Bitbucket request failed with status: 403', <Response [403]>)
Any one who knows how I need to use it? Or if I need to take extra steps to get it to work?
Thanks in advance!
Edward