Jump to content
  • Sign Up

Inconsistency in Guild Upgrades API

Recommended Posts

I'm noticing some odd behaviour in Guild Upgrades. Pinging this endpoint repeatedly, I get two different-sized payloads each time. Might be some sort of sharding issue?


EDIT: It's not just the upgrades listing. I'm noticing similar issues in the treasury: I'm noticing the list of 'needed_by' upgrades for items in the treasury alternately growing and shrinking, sometimes dropping upgrades we know we have unlocked. There's definitely something weird going on with at least a segment of the API.

Link to post
Share on other sites
  • 2 months later...

Hi,I've seen the same issue like with https://api.guildwars2.com/v2/guild/upgrades/840Sometimes we can have :"prerequisites": []

Instead of :

"prerequisites": [            253,            424        ],

With Postman it's almost 100%...

{    "id": 840,    "name": "Guild Hall Music: Super Adventure Box",    "description": "Visit the minstrel at the tavern to change the background music of your guild hall to a selection of themes based on Moto's Super Adventure Box.",    "build_time": 0,    "icon": "https://render.guildwars2.com/file/96E17707772DCB56487E9EE5D84C1C3E034D7A6B/1202618.png",    "type": "Unlock",    "required_level": 8,    "experience": 35,    "prerequisites": [],    "costs": [        {            "type": "Collectible",            "count": 128,            "name": "Guild Favor",            "item_id": 70701        },        {            "type": "Item",            "count": 1,            "name": "World 1 Super Boom Box",            "item_id": 46500        },        {            "type": "Item",            "count": 1,            "name": "World 2 Super Boom Box",            "item_id": 46504        },        {            "type": "Item",            "count": 500,            "name": "Continue Coin",            "item_id": 41824        },        {            "type": "Currency",            "count": 256,            "name": "Aetherium"        }    ]}

Any way to get it fixed?

Link to post
Share on other sites
  • 3 weeks later...

I'm pretty sure this is the correct list of guild upgrade prerequisites (found via repeatedly requesting the guild upgrades endpoint with different query strings to avoid caching and then manually merging the results):


I've got some extra code for the treasury request that removes upgrades that shouldn't be there: https://git.lubar.me/lubar-local/ravenvale/src/commit/a95fe0ab080cad6d52f349e6b917ec5cea9ea3c4/guild-api.go#L203-L258

The treasury does at least seem to be consistent with what each upgrade requires, just not with the prerequisites needed to make them available to the treasury panel ingame.

Link to post
Share on other sites
  • 11 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...