-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingp1Affects a large population and inhibits workAffects a large population and inhibits workplatformProblems with the GitHub platform rather than the CLI clientProblems with the GitHub platform rather than the CLI client
Description
Describe the bug
A clear and concise description of what the bug is. Include version by typing gh --version.
When running gh --version I have the following output.
gh version 2.31.0 (2023-06-20)
https://github.com/cli/cli/releases/tag/v2.31.0
Steps to reproduce the behavior
- This occurs when running
gh gist edit <gist-url>orgh gist edit <gist-url> --filename <filename> - The output from the above command.
$> gh gist edit <gist-url>
HTTP 422: Invalid request. (https://api.github.com/gists/<gist-id>)
"public", "updated_at" are not permitted keys.
"language", "type" are not permitted keys.
Expected vs actual behavior
I expect this to work successfully when editing a gist. I recently installed gh yesterday and it was working successfully then too.
I've confirmed I have a valid access token and created a new one too. I can create gists from the command line with gh gist create <filename> and run other commands successfully.
$> gh gist create <filename>
- Creating gist <filename>
✓ Created secret gist <filename>
https://gist.github.com/<username>/<gist-url>
My value for EDITOR is vim.
tkonolige, bruno-viva and bradgwest
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingp1Affects a large population and inhibits workAffects a large population and inhibits workplatformProblems with the GitHub platform rather than the CLI clientProblems with the GitHub platform rather than the CLI client