Bad credentials error #26705
-
Repository: GitHub - Coin-Catalog/Pennies: Here will lay the pages for the pennies on the Coin catalog site. I have an action run every time an issue is opened for it to be added to a project. But when it runs I get the following error
|
Beta Was this translation helpful? Give feedback.
Replies: 11 comments
-
From looking at the documentation of that action the workflow as such should be fine as long as the secret you use exists. What I can’t see is the secret: Is it a valid token with the required scopes, and nothing else (no extra spaces, etc.)? |
Beta Was this translation helpful? Give feedback.
-
There are not any extra spaces. And the secret is org wide. |
Beta Was this translation helpful? Give feedback.
-
ethan-master-coding:
Hi @ethan-master-coding |
Beta Was this translation helpful? Give feedback.
-
There was no option to give the token perms. The token is from the org and not my user. And the repo does recognize the token. |
Beta Was this translation helpful? Give feedback.
-
Then org owner or admin who provided this token has to add these scopes. It’s no chance to make it work without correct scopes. |
Beta Was this translation helpful? Give feedback.
-
I am the owner of the org but I did not see the option to. |
Beta Was this translation helpful? Give feedback.
-
It is another URL Sign in to GitHub · GitHub |
Beta Was this translation helpful? Give feedback.
-
Oh, it needs to be a personal token instead of an org token. Will I need to to change any of the syntax other than needing to change the name of the token? Or for the value of the token the value of my token? |
Beta Was this translation helpful? Give feedback.
-
Is yours org Enterprise one? |
Beta Was this translation helpful? Give feedback.
-
I figured it out thanks @ViacheslavKudinov. And no its a free one. |
Beta Was this translation helpful? Give feedback.
-
What was the fix? |
Beta Was this translation helpful? Give feedback.
It is another URL Sign in to GitHub · GitHub
or official doc Creating a personal access token - GitHub Docs