• 0

    posted a message on Getting all files of a fabric mod on curse?

    Hello! I am trying to get all files of a mod that is hosted on curse in java for an auto updater, however, when i try i get this error

    Exception in thread "main" org.jsoup.HttpStatusException: HTTP error fetching URL. Status=403, URL=https://www.curseforge.com/minecraft/mc-mods/fabric/modIamTryingToGet/files/
        at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:762)
        at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:707)
        at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:297) at org.jsoup.helper.HttpConnection.get(HttpConnection.java:286)
        at main.Test.main(Test.java:16)

    why does that happen? i know 403 means that the server got the connection but is refusing to reply, why is that?

    Posted in: Support
  • To post a comment, please or register a new account.