com.jdroid.github.client.RequestException: Bad credentials (401) #111
Replies: 3 comments 6 replies
-
|
There is a problem with your Github write token, used by the plugin to create a pull request. Please verify if you are properly sending the token and if it has write permissions. |
Beta Was this translation helpful? Give feedback.
-
|
If you mean Personal Access Token I have given all the permissions to the token But Still it shows the same error :( |
Beta Was this translation helpful? Give feedback.
-
|
Did you follow these steps when creating the token? https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token It's important you have checked the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
upgradDependencies always fails with "com.jdroid.github.client.RequestException: Bad credentials (401)"
I have tried using secrets.GITHUB_TOKEN from Github Actions Workflow and even tried hardcoding the personal token with all the permissions But it always result in the same error.
The weird thing is I can see that the plugin is creating branches But not able to create Pull requests.
I am stuck on this error for days, Would be really helpful if someone can tell me what I am doing wrong :(
To Reproduce
Steps to reproduce the behavior:
And My Gradle file has this configuration
Beta Was this translation helpful? Give feedback.
All reactions