<span><span>Digest: sha256:25f4f1919324ff3da504da3c2837e83f5f4bfa8e74decca0c3c2c5e0319f7381</span></span>
<span><span>Status: Downloaded newer image for bitbucketpipelines/bitbucket-upload-file:0.7.3</span></span>
<span><span>DEBUG: Starting new HTTPS connection (1): <a href="http://bitbucket.org:443/" rel="noopener noreferrer" target="_blank">bitbucket.org:443</a></span></span>
<span><span>DEBUG: <a href="https://bitbucket.org/" rel="noopener noreferrer" target="_blank">https://bitbucket.org:443</a> "GET /bitbucketpipelines/official-pipes/raw/master/pipes.prod.json HTTP/11" 200 None</span></span>
<span><span>INFO: Executing the pipe...</span></span>
<span><span>INFO: Start uploading 1 files ['test-reports/report.xml']...</span></span>
<span><span>DEBUG: Starting new HTTPS connection (1): <a href="http://api.bitbucket.org:443/" rel="noopener nofollow noreferrer" target="_blank">api.bitbucket.org:443</a></span></span>
<span><span>DEBUG: <a href="https://api.bitbucket.org/" rel="noopener nofollow noreferrer" target="_blank">https://api.bitbucket.org:443</a> "POST /2.0/repositories///downloads HTTP/11" 403 57</span></span>
<span><span>✖ Failed to upload files ['test-reports/report.xml']. Status code: 403. Message: This endpoint does not support token-based authentication.</span></span>
G'day, @Fredrik Svärd
Welcome to the community!
You should generate an App password as your credentials. The combination should be your username as well as App Password.
Let me know if that works.
Regards,Syahrul
Hi!
I have already tried that before your suggestion:
Hey @Fredrik Svärd
Thanks for the confirmation.
If you are using the correct username and password, then I believe you should try to call your workspace and repository name directly instead of using the variable.
I also suggest removing the account/repository if you are uploading the artifacts on the same workspace/repository as it will use the default ${BITBUCKET_REPO_OWNER} and ${BITBUCKET_REPO_SLUG}.
${BITBUCKET_REPO_SLUG}.
Regards,<br>Syahrul
@Fredrik Svärd hi. Thank you for your question.According to your logs
<span>DEBUG: <a href="https://api.bitbucket.org/" rel="noopener nofollow noreferrer" target="_blank">https://api.bitbucket.org:443</a> "POST /2.0/repositories///downloads HTTP/11" 403 57</span>
It looks like you're new here. Sign in or register to get started.