Unable to Clone a private repository using Personal access token and Fine grained token in local using command Prompt #144342
Unanswered
JVerma-gls
asked this question in
Actions
Replies: 1 comment 1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
General
Body
I am unable to Clone a private repository using Personal access token and Fine grained token in local using command Prompt. I am running following command in cmd. My goal is to integrate Git repo with snowflake, I was able to create SECRET and API INTEGRATION objects in snowflake, however when I tried creating GIT REPOSITORY, I was getting this error, "Failed to access the Git Repository. Operation 'clone' is not authorized."
Then I tried cloning my private repository locally as follows and got error message as follows.
https://@github.com//.git
Here is the error message I got.
remote: Personal access tokens (classic) are forbidden from accessing this repository.
fatal: unable to access 'https://github.com/username/Snowflaketest/': The requested URL returned error: 403
When I tried using fine grained token, I got the following error.
remote: Write access to repository not granted.
fatal: unable to access 'https://github.com/username/Snowflaketest/': The requested URL returned error: 403
Let me know how can I resolve this issue or what might be causing this.
Beta Was this translation helpful? Give feedback.
All reactions