Release bad credentials - HttpError 401

Hello all,

I’ve been using electron-builder for a long time to build and update my Electron app using a GitHub repo, but today I’ve realized that updates are no longer working. Every time my app tries to update from GitHub repo it throws this error:

Error: Unable to find latest version on GitHub (, please ensure a production release exists: HttpError: 401 
  "message": "Bad credentials",
  "documentation_url": ""

For some reason I don’t understand, it looks like now GitHub refuses to allow my Electron app to download the new release, but I haven’t changed anything from my app’s update process so I think it must be something related to GitHub itself, but I don’t know what.

I can perfectly access and download from my GitHub repo’s lastest release ( with a browser so I cannot understand why electron-updater can’t.

Does anybody have any clue?

Thank you!

Don’t suppose you have any more information? Is this inside a workflow, or is it a local operation?

If it’s a local operation, I’d want to increase the logging. GitHub responses include a header x-github-request-id: which their engineers can use to investigate problems.

Anyway, if it’s a workflow, someone might be able to investigate a little w/o (or even try to reproduce).

Occasionally /latest things have broken. Sometimes the fix is to publish a new thing.

But, in general, I’d file a ticket:

Hello @jsoref , thank you for your reply. I’ll try to contact GitHub Support as you recommend.

Best regards!