-
Notifications
You must be signed in to change notification settings - Fork 50
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
API Token not allowing issue update #202
Comments
I discovered that this must be a bug with the GraphQL implementation, as I converted over to using the REST based API and it worked. Here is the change |
@IEvangelist my psychic debugger thinks there's something weird with how it's deserializing the response. Are you able to extract the query and create a failing test so the maintainers can see the same problem themselves more easily? |
Running into same stack trace of this issue and the capability is not available through v3 api. It states during the deserialization "message": "Something went wrong while executing your query. Please include |
Hi @brianaj, thanks for sharing! I'm happy that someone else is seeing this too. I have literally been buried, and it's been extremely difficult to find time to look into this. My workaround was to simply use the Octokit.Net SDK to update the issue since the GraphQL implementation for mutating an issue is clearly broken. It worked and I moved on, I would like to come back to this though. It should be very easy for someone to recreate. Simply try to update an issue using the GraphQL mutation. For my project, this is the change that I included to get this working... again, simply using both SDKs side-by-side... which doesn't feel good but it works for now. IEvangelist/GitHub.ProfanityFilter@50dae78#diff-bfef6a25cdd5583e892f47c982da2959 |
That isn't a terrible idea, however; I'm not sure how I'd be able to extract the response as it is buried in the internals of the |
Thanks for the response @IEvangelist. Yes, unfortunately, we are using beta functionality that is not available in the rest client. We are just using graphql client directly for now. |
👋 Hey Friends, this issue has been automatically marked as |
I have an Azure function that handles a GitHub webhook invocation for issues and pull requests. When it fires, I add a label and a reaction -- those both work perfectly. I then try to update either the title or body text of the issue or pull request and it fails.
Here is the StackTrace:
Here is the source code:
https://github.com/IEvangelist/GitHub.ProfanityFilter
Issue handler, invocation to client
Client, invocation to connection with mutation
I'm using an API Token that was just newly created, why would this not work?
The text was updated successfully, but these errors were encountered: