The repo cannot be accessed. Check URL, username, and password, and confirm user has read, write, and create branch access

jackphang
Tera Contributor

Release management is installed in itsm release application.

then cannot submit code to github now 。

instance : https://mhcn.service-now.com/

this is prod env .

find_real_file.png

 

this is test env , is ok

find_real_file.png

2 REPLIES 2

shloke04
Kilo Patron

Hi,

Please follow the steps below to achieve your requirement:

1) Log into GitHub account.

2) Browse to account settings.

find_real_file.png

 

3) Select Personal access tokens then Generate new token.

find_real_file.png

4) Assign name and permission for new token.

find_real_file.png

5) Generate new token (bottom of page).

find_real_file.png

6) Copy the newly generate token (this will not be viewable again so should be stored safely for future use).

find_real_file.png

7) Now the token is generated, within ServiceNow use your GitHub username with the generated token instead of your password.

find_real_file.png

 
Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

This token is correct. Token is configured correctly in both the test environment and the production environment. but test environment is ok ,production environment is not ok