Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

CurseForge API missing version information for 1.16.2 #10

Open
magneticflux- opened this issue Aug 13, 2020 · 4 comments
Open

CurseForge API missing version information for 1.16.2 #10

magneticflux- opened this issue Aug 13, 2020 · 4 comments

Comments

@magneticflux-
Copy link

This isn't a problem with modsman per se, but it might be able to be fixed by changing the API endpoint if the endpoint has been deprecated or something.

Mods that clearly have 1.16.2 Fabric versions are not being recognized/downloaded.

For an example, this is what I receive when visiting the API endpoint (here):

[
   {
      "id":3022958,
      "displayName":"NumericPing-1.0.1.1-fabric1.16.1",
      "fileName":"NumericPing-1.0.1.jar",
      "fileDate":"2020-08-04T02:43:48.97Z",
      "fileLength":23093,
      "releaseType":1,
      "fileStatus":4,
      "downloadUrl":"https://edge.forgecdn.net/files/3022/958/NumericPing-1.0.1.jar",
      "isAlternate":false,
      "alternateFileId":0,
      "dependencies":[

      ],
      "isAvailable":true,
      "modules":[
         {
            "foldername":"numericping.png",
            "fingerprint":683818194
         },
         {
            "foldername":"mixins.numericping.main.json",
            "fingerprint":2099035673
         },
         {
            "foldername":"fabric.mod.json",
            "fingerprint":1848306249
         },
         {
            "foldername":"assets",
            "fingerprint":683818194
         },
         {
            "foldername":"NumericPing-refmap.json",
            "fingerprint":1493072104
         },
         {
            "foldername":"META-INF",
            "fingerprint":2464251221
         },
         {
            "foldername":"com",
            "fingerprint":301937707
         }
      ],
      "packageFingerprint":4068055698,
      "gameVersion":[
         "1.16.1",
         "Fabric"
      ],
      "installMetadata":null,
      "serverPackFileId":null,
      "hasInstallScript":false,
      "gameVersionDateReleased":"2019-08-01T00:00:00Z",
      "gameVersionFlavor":null
   },
   {
      "id":3023165,
      "displayName":"NumericPing-1.0.2-fabric1.16.1.jar",
      "fileName":"NumericPing-1.0.2-fabric1.16.1.jar",
      "fileDate":"2020-08-04T11:00:45.207Z",
      "fileLength":21239,
      "releaseType":1,
      "fileStatus":4,
      "downloadUrl":"https://edge.forgecdn.net/files/3023/165/NumericPing-1.0.2-fabric1.16.1.jar",
      "isAlternate":false,
      "alternateFileId":0,
      "dependencies":[

      ],
      "isAvailable":true,
      "modules":[
         {
            "foldername":"numericping.mixins.json",
            "fingerprint":2099035673
         },
         {
            "foldername":"fabric.mod.json",
            "fingerprint":3069890785
         },
         {
            "foldername":"assets",
            "fingerprint":614888986
         },
         {
            "foldername":"NumericPing-refmap.json",
            "fingerprint":1493072104
         },
         {
            "foldername":"META-INF",
            "fingerprint":2464251221
         },
         {
            "foldername":"com",
            "fingerprint":301937707
         }
      ],
      "packageFingerprint":2551732886,
      "gameVersion":[
         "1.16.1",
         "Fabric"
      ],
      "installMetadata":null,
      "serverPackFileId":null,
      "hasInstallScript":false,
      "gameVersionDateReleased":"2019-08-01T00:00:00Z",
      "gameVersionFlavor":null
   }
]

and this is what I see on the "Files" page (here):
image

Notice the presence in the JSON data of a 1.0.1-fabric1.16.1 version and the lack in the JSON data of a 1.0.2-fabric1.16.2"version.

@magneticflux- magneticflux- changed the title CurseForge API going down / getting unsynchronized? CurseForge API going down / serving old data? Aug 13, 2020
@magneticflux-
Copy link
Author

magneticflux- commented Aug 15, 2020

The original link I posted seems to have been updated, but the file itself seems out-of-date now.
Both are still out of date. The file taking a few minutes to appear in the list of files was just a temporary consistency error.

What I receive from an API endpoint (here):

{
   "id":3030860,
   "displayName":"NumericPing-1.0.2-fabric1.16.2.jar",
   "fileName":"NumericPing-1.0.2-fabric1.16.2.jar",
   "fileDate":"2020-08-13T03:19:37.807Z",
   "fileLength":21240,
   "releaseType":1,
   "fileStatus":4,
   "downloadUrl":"https://edge.forgecdn.net/files/3030/860/NumericPing-1.0.2-fabric1.16.2.jar",
   "isAlternate":false,
   "alternateFileId":0,
   "dependencies":[

   ],
   "isAvailable":true,
   "modules":[
      {
         "foldername":"numericping.mixins.json",
         "fingerprint":2099035673
      },
      {
         "foldername":"fabric.mod.json",
         "fingerprint":3429416658
      },
      {
         "foldername":"assets",
         "fingerprint":614888986
      },
      {
         "foldername":"NumericPing-refmap.json",
         "fingerprint":1493072104
      },
      {
         "foldername":"META-INF",
         "fingerprint":2464251221
      },
      {
         "foldername":"com",
         "fingerprint":686898220
      }
   ],
   "packageFingerprint":4218717953,
   "gameVersion":[
      "Fabric"
   ],
   "installMetadata":null,
   "serverPackFileId":null,
   "hasInstallScript":false,
   "gameVersionDateReleased":"2019-08-01T00:00:00Z",
   "gameVersionFlavor":null
}

and this is what I see on the "File Details" page (here):
image

Notice the presence in the JSON data of gameVersion: ["Fabric"] and the absence in the JSON of "1.16.2" anywhere.

I'm working on a test for a Curseforge project I control so I can see if there is a problem on the project-side of things.

@magneticflux-
Copy link
Author

I can confirm that it's happening on my own project. The API (and thus Modsman) is unable to find this file: https://www.curseforge.com/minecraft/mc-mods/mumble-link-fabric/files/3032782

@magneticflux-
Copy link
Author

magneticflux- commented Aug 17, 2020

Any file marked as supporting 1.16.2 lacks that information in the API response. No other versions are affected as far as I know. I've submitted a ticket with CurseForge Support including the details here.

@magneticflux- magneticflux- changed the title CurseForge API going down / serving old data? CurseForge API missing version information for 1.16.2 Aug 17, 2020
@comp500
Copy link

comp500 commented Aug 22, 2020

New game versions take a few days (sometimes a week or more) to show up in the API for some reason, this happens on almost every new version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants