Hello,
I have a problem.
I have a github repository and I want to copy the files present in my local folder into it.
I use this instruction:
date _null_;
rc = gitfn_push (
"& dir_git.",
"& user_github.",
"& passw_github.");
run;
and I get the following error message:
"
ERROR: Failed to authenticate with the remote repository.
"
I can't understand why as username and password are correct as I access the folder on github.
Any suggestions?
Thank you all
Do you have 2-factor authentication enabled on GitHub (best practice)? If so, your normal GitHub password won't work.
Instead, you need to create a Personal Access Token. You use this just like a password, but in creating the token you have some control over the permissions and of course you can always revoke it if needed.
Do you have 2-factor authentication enabled on GitHub (best practice)? If so, your normal GitHub password won't work.
Instead, you need to create a Personal Access Token. You use this just like a password, but in creating the token you have some control over the permissions and of course you can always revoke it if needed.
Hello,
I don't have the active double authentication on github, I can't understand the reason for the error.
thanks, i resolved followed this guide:
Hello,
I need some help. The problem reported in recent weeks has been resolved. For a few days when I try to push the folder on github from sas I get this error message:
"
unexpected HTTP status code: 403 "
Any suggestions?
Are those values in quotes supposed to be macro variables? If so it appears that you have a space between the & and the variable name and they won't resolve properly.
the space in the macro variables was introduced when writing the post but in the program it is correct
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.