# Fatal: Authentication failed during build

**URL:** <https://discuss.bitrise.io/t/fatal-authentication-failed-during-build/23950>\
**Category:** Question & Answer\
**Created:** [March 27, 2024, 11:08am UTC](https://discuss.bitrise.io/t/fatal-authentication-failed-during-build/23950 "2024-03-27T11:08:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![warisharazambq](https://avatars.discourse-cdn.com/v4/letter/w/b4bc9f/32.png) [@warisharazambq](https://discuss.bitrise.io/u/warisharazambq)\
**Post date:** [March 27, 2024, 11:08am UTC](https://discuss.bitrise.io/t/fatal-authentication-failed-during-build/23950/1 "2024-03-27T11:08:54Z")

</div>

I’M stuck at an error that is remote: Invalid credentials  
fatal: Authentication failed. Now, I’ve added my username and password in secret with same variables in git clone workflow step, but the issue remains. if someone would help me out, that would be great! (PS: I’ve uploaded my automation project on bitbucket repository which contains a parent branch and then folders which contains my testcases , and i want to run it on bit rise).

 ![problem2](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/5/5c09a572b3728007c3299d8f40a10ed3d3019f25.png)

---

<div class="post-metadata">

**Author:** ![jeremyp](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/jeremyp/32/5490_2.png) [@jeremyp](https://discuss.bitrise.io/u/jeremyp)\
**Post date:** [March 27, 2024, 12:51pm UTC](https://discuss.bitrise.io/t/fatal-authentication-failed-during-build/23950/2 "2024-03-27T12:51:02Z")

</div>

Hi @warisharazambq - welcome to the Bitrise forum!

The best way to get this resolved is to raise a support ticket here - [https://support.bitrise.io/hc/en-us/requests/new](https://support.bitrise.io/hc/en-us/requests/new)

And also enable support access so the support team can look at your app - [Enabling the Bitrise Support Access for your app - Bitrise Docs](https://devcenter.bitrise.io/en/apps/enabling-the-bitrise-support-user-for-your-app.html)

Thank you!
