Search Issue Tracker

Active

Votes

0

Found in

3.17.2

3.18.0

Issue ID

UUM-140394

Regression

No

The "Failed to create GitHub repository. Not Found" error is not informative when a GitHub Personal Access Token without the repo scope is authorized in the Hub

Hub App

-

Steps to reproduce:

  1. Open the Hub
  2. Click the "New project" button
  3. Select "Github" for Source control provider
  4. Click the "Get a token" button
  5. Uncheck the "repo" scope
  6. Generate token
  7. Authorize the token in the Hub's Personal Access Token field
  8. Create the project
  9. Observe the error thrown in the Hub

Actual results: "Failed to create GitHub repository. Not Found" error is thrown

Expected results: The error should state that the token does not have sufficient permissions

Reproducible with versions: 3.17.2

Tested on (OS): MacOS Silicon Tahoe 26.3

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.