Digitalroot-Valheim / Digitalroot.ModUploader

Uploads mods to Thunderstore, ModVault, or NexusMods
MIT License
5 stars 4 forks source link

[Bug]: Request failed with status code Forbidden, when trying to upload any file into the "Main" category #25

Open PuszkaPotato opened 2 months ago

PuszkaPotato commented 2 months ago

How are you playing the game?

Single Player - No Server

What happened?

I was able to upload files into the Main category but right now I am getting an error

Exception: System.Net.Http.HttpRequestException: Request failed with status code Forbidden

I didn't change anything and I tried with the most basic upload command line I could and it still doesn't work.

When I use any other category the upload works without any issues.

image

To Reproduce

  1. Try to upload a file with the simplest command to Nexus Mods making sure the chosen category is 'Main'
  2. Press enter
  3. Be sad.

Screenshots

image

image

Relevant log output

No response

Log File

No response

Code of Conduct

Digitalroot commented 2 months ago

Maybe something changed. I'll take a look. You can also run the check command to verify that the cookies and API key are functional. They probably are because you are able to upload to a different category.

PuszkaPotato commented 2 months ago

I ran check command before I created an issue, it is functional.

Digitalroot commented 2 months ago

I just ran drmu nx upload 2150 /home/runner/work/Digitalroot.Valheim.BetterWisps/Digitalroot.Valheim.BetterWisps/Digitalroot.Valheim.BetterWisps.v1.0.36.zip -v 1.0.36 -d "DigitalrootModUploader (CI/CD)" -f Digitalroot.Valheim.BetterWisps -dmv

And it uploaded to Main. https://github.com/Digitalroot-Valheim/Digitalroot.Valheim.BetterWisps/actions/runs/9651644764/job/26620236690

PuszkaPotato commented 2 months ago

Could it be something on the nexusmod's side? Because I just tried it again today, and it works.

I also tried the day after I posted an issue and could not upload.