You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usually, when you call v2.items for multiple item IDs and the gw2 api only knows some ids, it will simply return infos about the known ids and ignore the unknown ids.
BUT, when you repeat the same call, gw2sharp will throw a not found exception as if all ids are unknown though that is not true.
var client = new Gw2Sharp.Gw2Client();
var items = await client.WebApi.V2.Items.ManyAsync(new[] { 78599, 70093 }); // lvl 80 boost (unknown to api), shiny bauble (known to api)
var items2 = await client.WebApi.V2.Items.ManyAsync(new[] { 78599, 70093 }); // this will throw notFoundException
usually, when you call v2.items for multiple item IDs and the gw2 api only knows some ids, it will simply return infos about the known ids and ignore the unknown ids.
BUT, when you repeat the same call, gw2sharp will throw a not found exception as if all ids are unknown though that is not true.
var client = new Gw2Sharp.Gw2Client();
var items = await client.WebApi.V2.Items.ManyAsync(new[] { 78599, 70093 }); // lvl 80 boost (unknown to api), shiny bauble (known to api)
var items2 = await client.WebApi.V2.Items.ManyAsync(new[] { 78599, 70093 }); // this will throw notFoundException
example to reproduce (happens in blish too):
https://dotnetfiddle.net/ZmWyRD
blish hud discord thread about the bug:
https://discord.com/channels/531175899588984842/1246217871521218661
The text was updated successfully, but these errors were encountered: