-
|
Re-posting a question from the old discussion page, in case anyone encounters a similar error. This error would likely be encountered towards the end of the Git walk-through
This was one of the cases of the GitHub and Positron connection not setting correctly on the first attempt. To fix, repeat the following step from Workstation Setup. Generally this is enough to get the connection working. What you would look for to know whether this worked would be when returning to the GitHub tab you can see your username:
Hope this helps! Best- |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 39 replies
-
|
Thanks so much for posting this! I did encounter this error. Sadly, the re-do of the GitHub and Positron connection didn't fix this error for me. I am able to view my Username in the GitHub tab as you described. Is there anything else I can try? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for reaching out @almadtenorio. Let's see if we can figure out what is going on. What operating system are you using? One initial thing you could try is shutting down and reopening positron, make sure that you are still within your new Project folder, and then repeat setup:
If still not working, can you run the following and attach the screenshot: Best- |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I got this error too before this question was posted in the Discussion board and I followed the help prompts to set up an access token linked to my GitHub profile, which seemed to work because I was able to proceed with the rest of the instructions after this. Should I have not set up this token/is it going to cause problems later on in the course? 🙈 |
Beta Was this translation helpful? Give feedback.
-
|
Hi everyone, I hope it help ! |
Beta Was this translation helpful? Give feedback.
-
|
@vinced8928 , @drnkcampbell , @almadtenorio: We had a similar issue for one of the in-person participants today. We messed around by clicking up through the Publish branch options, and were able to create the private repository that could be seen on GitHub, but no data was pushed upstream. We then separately noticed that the following We ultimately fixed the issue by reinstalling the Not quite sure which step in the sequence fixed the issue, but hope to find out and update the documentation later this week. Let me know if it starts working on your end. Best Wishes- |
Beta Was this translation helpful? Give feedback.
-
|
Hello :) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
https://usethis.r-lib.org/articles/git-credentials.html Following the instructions starting at "Get a personal access token (PAT)" solved the issue for me! I set my PAT to have all the scopes with a 90 day exp. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I run into the same personal access token error towards the end of the Git walkthrough (MacOS 15.6.1). This is the instructions suggested by Claude that resolved the issue for me. |
Beta Was this translation helpful? Give feedback.





















Hi @BethDibnah, thanks for trying! Let's try a different approach. Can you create a new project folder via "New Folder from Template" but leave the "Initialize Git Repository" option left unchecked.
Create a couple basic files within the project (something like this).
Once this is done, try the steps in this workflow. After staging and comitting, follow the Positron Publish to GitHub button options. If you encounter another GitHub token error in the process, please screenshot and post it.
My hope is this approach on a new project folder fixes the communication issue between GitHub and Positron. Fingers crossed!
Best Wishes-
David