Kir-Antipov / mc-publish

🚀 Your one-stop GitHub Action for seamless Minecraft project publication across various platforms.
MIT License
228 stars 20 forks source link

Github token from incorrect Client ID #83

Closed 0ql closed 1 year ago

0ql commented 1 year ago
Error: Error: Failed to upload file: 401 (Unauthorized, {"error":"unauthorized","description":"Authentication Error: GitHub Token from incorrect Client ID"})

https://github.com/0ql/kaffees_dual_ride/actions/runs/5524309305/jobs/10160137707

Anybody know what this means? The very same configuration worked just fine a few months ago.

Kir-Antipov commented 1 year ago

Please, check #49. In short, Modrinth tokens are not perpetual and have an expiration timeline, so they cease to be functional after a certain point in time (that's why your configuration worked fine before and does not now). Therefore, it is critical to renew them at regular intervals to maintain uninterrupted services.

0ql commented 1 year ago

Thank you for the swift response. I actually checked out the issue but given that the Error was different didn't think much of it.

Kir-Antipov commented 1 year ago

That issue is pretty old and Modrinth developers are pretty active folks, so the whole auth module has been re-written since then. Thus, the error message may have changed too :)