-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Sebastien Pouliot edited this page Feb 9, 2022
·
3 revisions
In order to be able to create gists the code requires a valid OAuth token
with the gist
scope. This token can be generated by visiting the
following URL: https://github.com/settings/tokens
The code will look for the token in the following locations and order of precedence:
- an environment variable
GITHUB_OAUTH_TOKEN
- a
.gist
file in your home directory
Something is likley misencoded in the attached file. This could be a bug in SimpleGist. Please file an issue.
The token was not accepted by the GitHub API. This can happen if the token
could not be found (e.g. no .gist
file) or if it has expired.
A file is required to create a gist. An unique empty file will return this error.