Error: Unexpected error
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 142
- Forks
- 230
- PR merge metrics
- No merged PRs in 30d
Description
I encountered the following error on lit.dev:
Unexpected error
Error calling GitHub API GET /gists/a9d4af2903477a59c7a0c9c0fd3d75be (HTTP status 401)
Stack trace:
Error: Error calling GitHub API GET /gists/a9d4af2903477a59c7a0c9c0fd3d75be (HTTP status 401)
at y (https://lit.dev/js/components/litdev-playground-page.js:17:396)
at async T._loadGist (https://lit.dev/js/components/litdev-playground-page.js:72:4546)
at async T._syncStateFromUrlHash (https://lit.dev/js/components/litdev-playground-page.js:72:5806)
URL: https://lit.dev/playground/#gist=a9d4af2903477a59c7a0c9c0fd3d75be
Site version: prod-bd81b0c
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by opening the reported playground URL and reading the stack trace references to litdev-playground-page.js, especially _loadGist and _syncStateFromUrlHash. Investigate the GitHub API GET /gists request and determine why this gist produces HTTP 401; done means the reported gist loads without the unexpected error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, typescript
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100