modmuss50 / mod-publish-plugin

A Gradle plugin to publish mods to a range of destinations
https://modmuss50.github.io/mod-publish-plugin/
MIT License
61 stars 10 forks source link

Error 403 when trying to upload mods to CurseForge #62

Closed LopyMine closed 2 months ago

LopyMine commented 2 months ago

Honestly, I don't know why it happens

Here is my very simple publish settings image

And I got this error while running publishMods

image

Tell me if you need more information

modmuss50 commented 2 months ago

Hi, a 403 error from curseforge indicates that your access token may be incorrect, or you are being blocked for another reason.

LopyMine commented 2 months ago

So, access token cannot be incorrect, then it seems like I'm blocked for some reason, which is definitely strange, because it doesn't work with enabled VPN too. Also I just tried to use token from new account (still with VPN), and it also doesn't work...

Well, I'm going to write CurseForge support about it

LopyMine commented 2 months ago

Hi again, I wrote to CurseForge support, and they replied that they couldn't help, because this is a 3rd party thing, nevertheless, I have good news for you and bad news for me Good — That's not plugin problem and my token too. Bad — I gave my token to my friend from German and he successfully uploaded mod using my token. I live in Russia, and apparently because of this I get a 403 error... I don’t know what I will do, because VPN doesn't help, but still thanks for your help!

I'm not sure whether to close this issue, so I'll leave this choice up to you ^^

modmuss50 commented 2 months ago

Ill close this issue, im glad you figured it out. Your best solution might be to use Github actions, this way you can trigger the buid from the Github UI and then then plugin will upload it from Github's own servers.