Skip to main content

Github Release Step fails with 404 error

Updated this week

Issue:

The Github Release Step throws the following error:

failed to create release: POST https://api.github.com/repos/myrepo/releases/: 404 Not Found []

Possible solutions:

  1. Check that your API token has the right scope. It needs to have "write" access to the repository.

  2. Make sure you're using the SSH URL format for your repository: [email protected]:owner/repo-name.git. Don't use HTTPS-based URLs for the app or any dependencies.

  3. Verify that the repository URL is correctly set in your app's Settings.

  4. Ensure the git credential user has proper read access to the repo. You can check this on the Teams tab.

Did this answer your question?