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/2e14f25a47afadcbb18254f7e74d9871 (HTTP status 403)
Stack trace:
```
Error: Error calling GitHub API GET /gists/2e14f25a47afadcbb18254f7e74d9871 (HTTP status 403)
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=2e14f25a47afadcbb18254f7e74d9871
Site version: `prod-46757b5`
Browser: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.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 at the playground URL and trace the _syncStateFromUrlHash and _loadGist paths shown in litdev-playground-page.js, then inspect the GitHub API request for the reported gist. Reproduce the HTTP 403 and determine the expected behavior for this failure; done means gist loading no longer presents an unexplained unexpected error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, typescript
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100