Guild API-Error or one of mine?

Guild API-Error or one of mine?

in API Development

Posted by: Lulan.8497

Lulan.8497

Guild API-Error or one of mine?

in API Development

Posted by: smiley.1438

smiley.1438

{
error: 3010,
product: 1008,
module: 1,
line: 559,
text: null
}

There’s possibly something wrong with that guild_id it seems, it doesn’t work for me too. When i try mine, everything’s fine:
https://api.guildwars2.com/v1/guild_details.json?guild_id=75FD83CF-0C45-4834-BC4C-097F93A487AF

Guild API-Error or one of mine?

in API Development

Posted by: AdelphiA.9287

AdelphiA.9287

Try using guild_name instead of guild_id. Much easier to remember and use!

AdelphiA.9287 – The Enigma Guild

Guild API-Error or one of mine?

in API Development

Posted by: smiley.1438

smiley.1438

Try using guild_name instead of guild_id. Much easier to remember and use!

Apparently not when it comes to special characters. Also the id provides some level of security – you can’t break up anything with that – think of XSS attacks ’n stuff…

preg_match("#^[A-F\d]{8}-(:?[A-F\d]{4}-){3}[A-F\d]{12}$#", $guild_id])

Guild API-Error or one of mine?

in API Development

Posted by: Dr Ishmael.9685

Dr Ishmael.9685

Back when I was playing around with guild emblems, I built up a collection of guild IDs by parsing the claimed objects in WvW every few hours. I would then go through all the guild IDs, look them up on guild_details.json, and (re-)build the guild emblem.

I noticed that sometimes, a guild ID that I had “known” previously would start to give this same error. The only explanation I could come up with was that the guild had been disbanded (either voluntarily or banned by Anet – a few of them did have offensive names).

Guild API-Error or one of mine?

in API Development

Posted by: Lulan.8497

Lulan.8497

Thank you dr. ishmael, i guess i ran into that…