Skip to end of metadata
Go to start of metadata

To set git username and password, use the following commands.

$git config --global "Your Name"
$git config --global ""


While trying to do a repository initialization, the user will be prompted for a password.

Example console log:

Password for '': remote: Unauthorized fatal: Authentication failed for 'https://<username>'

Possible reasons and solutions:

  • Not having a valid RDK Credential

  • User registration without valid company email address

    • Users must belong to a licensed company to be able to clone and checkout the manifest. You must register with valid company email address to gain access to manifest if your company is listed as a licensee. To verify if your company is licensed, please check in the following wiki page -  Licensees
  • Account is inactive/disabled - 
    • Account may have been deactivated/disabled either due to inactivity (60 days) or password has expired - Accounts can be activated using self service. Login to with the username, you will see a message with a link to activate your account. Click on the link to activate your account. If you are still facing issues with activating your account, please email Please update your password after it has been activated.
  • Account is active, but still getting the password reset error.

Update the credentials in $HOME/.netrc file, a sample of the file is given below


machine login <user-name> password <Password>


In few incidents, the user may not be having the required permission to download the code although having a valid combination of username/password combination.

Example console log:

Username for '': rdknewuser

Password for '':

fatal: remote error: Service not enabled

fatal: cannot obtain manifest

Possible Solution:

Approach RDK support with the necessary approval to get the requested privilege.

Github no more supports direct password login and allows only Personal Access tokens. To generate a new token,

  • Goto -> Settings -> Developer Settings -> Personal Access Tokens
  • Click on Generate a new token. You should be able to see a access new token on your UI.
  • Please copy the new token and add it to ~/.netrc file as given below
  • machine login <github-handle> password <new github access token>

Eg: machine login sampleuser password ghp_73ozr1OhWvUI1htuRCVwPyWF4Va1234ABCD

GitHub Workflow Steps:

  • Create a Fork by simply clicking on the 'fork' button of the repository page on GitHub.
  • Clone your Fork, the clone command creates a local git repository from your remote fork on GitHub.
  • git clone
  • Modify the Code in your local clone, and commit the changes to your local clone using the git commit command.
  • Push your Changes by invoking the git push command, from your workspace, to upload your changes to your remote fork on GitHub.
  • Create a Pull Request by clicking the 'pull request' button on the GitHub page of your remote fork.

Possible reasons and solutions:

If you are already using the Personal Access Token and getting a 403, chances are that the token has auto-expired.

You can generate a new token in Github by going to " -> Settings -> Developer Settings -> Personal Access Tokens", Clicking on "Generate a new token" and then replacing your old token inside the ~/.netrc file with the newly generated one.