[BUG]: Expired GitHub PAT displays a generic HTTP error instead of an authentication warning

Aperta
#404 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Prince-ES ci sta già lavorando.

Dal 24/10/2026.

  • #415 di @Prince-ES — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, javascript

Direzione di ricerca

Start at the organization search flow and trace how GitHub API errors are handled, comparing an expired or invalid PAT response with the existing rate limit message. Add an authentication warning for invalid or expired tokens, then verify that searches display it while rate limit errors retain their current message.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Bug Description

When a configured GitHub Personal Access Token (PAT) expires or becomes invalid, OrgExplorer fails to provide a clear error message explaining the authentication problem.

When the unauthenticated GitHub API rate limit of 60 requests per hour is exhausted, the application correctly displays:

GitHub API rate limit reached. Add a PAT in Settings for 5,000 req/hr.

However, when the configured PAT expires, searching for an organization results in a generic HTTP error instead of informing the user that their token may be expired or invalid.

Steps to Reproduce
  1. Open OrgExplorer and configure a GitHub PAT in Settings.
  2. Allow the PAT to expire or use an invalid/revoked token.
  3. Return to the organization search page.
  4. Search for any organization.
  5. Observe the error message displayed.
Logs and Screenshots

No response

Environment Details

No response

Impact

High - Major feature is broken

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Lingua principale
JavaScript
Stelle
53
Fork
182
Merge medio
18m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AOSSIE-Org/OrgExplorer

Tutte le issue di AOSSIE-Org/OrgExplorer

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.