Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

401 unauthorized error when trying to export to Github from Popcode #2520

Open
ifeLawal opened this issue Apr 2, 2022 · 0 comments
Open

Comments

@ifeLawal
Copy link

ifeLawal commented Apr 2, 2022

Describe the bug
A clear and concise description of what the bug is.
When you click on the "Export Repo" button, the call POST https://api.github.com/user/repos produces a 401 unauthorized error. This leads to the repo not being created for the person on Github.

To Reproduce
Steps to reproduce the behavior:

  1. Login to an account with Github Linked
  2. Click the arrow to the right of "Create Snapshot"
  3. Click "Export Repo" option in the dropdown list
  4. See the error

Expected behavior
A clear and concise description of what you expected to happen.
After clicking "Export Repo" a repo should be created with the PopCode code and a user should be taken to the Github page.

Screenshots
If applicable, add screenshots to help explain your problem.
PopCode_Export_Github_401_Unathorized

Desktop (please complete the following information):

User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0

Additional context
This might be a global PopCode issue, which means the Unit 9 project where students export to Github might be stalled if it is not fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant