Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 09:57 PM
Hello!
I'm receiving the following error, when pushing from Databricks to GitHub. What I have done:
- Access token is set up
- Repository is public
- I can pull from the repository to Databricks
- I'm using standard tier
"Error pushing changes Remote ref update was rejected. Make sure you have write access to this remote repository."
What else can I do to to solve this error?
Arttu
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 12:36 AM
Hi @ArttuHer ,
- First of all check the scopes of your personal access token.
Go to github/settings/Developer Settings.
When the token is created, you need to define what permissions are granted to the token.
Make sure repo scope is selected:
- Make sure you have write access to repository. Just because you are able to pull from a public repository doesn't necessarily mean you have write access. Are you the owner of the repository or have you been added as a collaborator? Can you make the changes to the code directly in github?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2024 12:47 AM
Hello!
thanks for the answer. Just figured it out.
It turned out that I accidentally had secrets in my code and it was not allowed by GitHub. After removing them, all worked out.
Arttu