purescript / purescript/trypurescript
Unable to create a gist
Offen
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- PureScript
- Sterne
- 121
- Forks
- 51
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
When attempting to share, I receive an alert with the message:
From try.purescript.org
Failed to create gist
This is caused by a failed POST:
Request URL: https://api.github.com/gists
Request Method: POST
Status Code: 422 Unprocessable Entity
The response payload:
{
"message": "Validation Failed",
"errors": [
{
"resource": "Gist",
"code": "missing_field",
"field": "user"
},
{
"resource": "Gist",
"code": "missing_field",
"field": "files"
}
],
"documentation_url": "https://developer.github.com/v3/gists/#create-a-gist"
}
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Start by tracing the share flow that sends the POST request to https://api.github.com/gists and compare its request with GitHub's create-a-gist documentation linked in the report. Confirm the request supplies the required user and files fields, then verify sharing no longer produces the 422 alert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github
- Bereich
- api, web-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100