Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG - GIST ERROR: Could Not Create gist-description > Reason: Validation Failed #108

Open
1 task done
Ativerc opened this issue Apr 17, 2019 · 3 comments
Open
1 task done
Labels

Comments

@Ativerc
Copy link

Ativerc commented Apr 17, 2019

This is a

  • bug report

Description

  • Cannot create new public or private gihub gists.
  • Error Message: GIST ERROR: Could Not Create gist-description > Reason: Validation Failed
  • VSCode Version: 1.33.0
  • VSCode Gist Version: 3.0.3

Screenshot

@Ativerc
Copy link
Author

Ativerc commented Apr 17, 2019

This is similar to condemil/gist#66 .

Github doesn't allow to create empty gists and the current UX of vscode-gist doesn't make it clear that gist will be pushed immediately. As a first-time user of this extension, I thought the gist push happens once I save the file. But apparently this happens as soon as I "Create a gist".

Adding an error for "Empty Gist" should solve this issue.

@kenhowardpdx
Copy link
Owner

Good suggestion. The file path of all gist files includes the gist id. It's a chicken & egg scenario.

@ata-o
Copy link

ata-o commented Jan 11, 2022

this also happens if you try to accidentally create an empty gist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants