Unable to Trigger Workflow Dispatch using GitHub OAuth token #190700
Replies: 1 comment
-
|
Ok, my bad, I missed adding the headers in the request |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
API
Body
I'm trying to trigger a
repository_dispatchevent using the a python scriptBut it keeps giving me
401or403errorsI used both
Bearerandtokenauth headers and tried changing the API version too, but nothing seems to work.the token is generated through an Oauth App with
repo read:userpermissionAlso this is my workflow file
Beta Was this translation helpful? Give feedback.
All reactions