# Project Sync fails when project is created with SCM type as "mercurial"

**URL:** <https://forum.ansible.com/t/project-sync-fails-when-project-is-created-with-scm-type-as-mercurial/29697>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [February 18, 2019, 10:39am UTC](https://forum.ansible.com/t/project-sync-fails-when-project-is-created-with-scm-type-as-mercurial/29697 "2019-02-18T10:39:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RC1](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@RC1](https://forum.ansible.com/u/RC1)\
**Post date:** [February 18, 2019, 10:39am UTC](https://forum.ansible.com/t/project-sync-fails-when-project-is-created-with-scm-type-as-mercurial/29697/1 "2019-02-18T10:39:47Z")

</div>

Title -  
Project Sync fails when project is created with SCM type as “mercurial”

Execution Steps :1. Login to AWX dashboard with admin user

1. Click on the project panel to create a project ‘test\_job’.

2. Select SCM Type as ‘mercurial’

3. Create a job template with created project.

4. Analyse the behaviour.

Observation :

It is observed that project sync fails after the creation of project with SCM Type as mercurial.  
Following error is received :  
**‘abort: http authorization required’**

Expected Result :

Project should be created successfully .

Any lead in this would be appreciated

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [February 18, 2019, 1:52pm UTC](https://forum.ansible.com/t/project-sync-fails-when-project-is-created-with-scm-type-as-mercurial/29697/2 "2019-02-18T13:52:05Z")

</div>

Looks like you are missing the credentials required to connect to the repository  
roshni chatterjee writes:

---

<div class="post-metadata">

**Author:** ![RC1](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@RC1](https://forum.ansible.com/u/RC1)\
**Post date:** [April 15, 2019, 6:58am UTC](https://forum.ansible.com/t/project-sync-fails-when-project-is-created-with-scm-type-as-mercurial/29697/3 "2019-04-15T06:58:32Z")

</div>

Hi All,

Please find the correct execution steps as follows -

1.Create a credential with credential type as ‘Source Control’

2.Provide username and password of the mercurial credential at the place of username and password of credential

3.Go to the project and select SCM type as mercurial

4.Provide SCM url and SCM credential (i.e credential created with mercurial username and password)
