cancel
Showing results for 
Search instead for 
Did you mean: 

btp trial abapGit pull/push, HTTP401

fvlabq
Explorer
0 Kudos
593

Hi,

I'm having the same problem when trying to pull/push abap source codes in BTP trial via abapGit.

I use GitHub personal token already but it always say: "Unauthorized access to resource(HTTP 401). Check your credentials"


Could anyone help, please?

P.S.

There is the same question raised https://answers.sap.com/questions/13820753/btp-trial-abapgit.html?childToView=13848184

View Entire Topic
shubham_waghmare
Associate
Associate

This issue occurs because of an expired personal access token(PAT) that is stored in secure store of eclipse. While staging, this expired PAT is used for authentication, which fails and leads to 401 error.

This issue has been fixed with abapGIT ADT client version 1.7.2. With this, users get the staging credentials dialog to enter a valid PAT in case the PAT is expired.

Please update the abapGIT version using the following update site: https://eclipse.abapgit.org/updatesite/.

shubham_waghmare
Associate
Associate
0 Kudos

Note: Fine-Grained PATs from Github are not supported yet.
Please use classic PATs.