You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using gh gist create with a custom GH_HOST, the following error occurs:
Failed to create gist: HTTP 403: Resource not accessible by integration (https://links-git.int.exe.xyz/api/v3/gists)
Toggling between 'act as app' and 'act as user' modes does not resolve the issue. The error may be related to the GitHub integration having insufficient permissions or being restricted to certain repositories.
Context
This was reported in response to a suggestion to use gh gist create with the GitHub integration to grant a VM the ability to create gists. The user noted that cut and paste works as a workaround.
Expected Behavior
gh gist create should work seamlessly with the GitHub integration when GH_HOST is configured, returning a successful gist creation instead of a 403 error.
Activity
josharian commentedon Jul 29, 2026
cc @vanreece