originally posted in:BungieNetPlatform
View Entire Topic
I've recently taken to learning some C# and figured I'd poke around with the Bungie API. Right now I am just using Json.NET and decoding objects as I request them. The issue I am running into is that if I query /{membershipType}/Stats/GetMembershipIdByDisplayName/{displayName}/ I am getting ErrorCode 217. This has been happening for the last few days. Is this endpoint not a good way to get MemberId anymore?
Thank you,
English
-
Make sure the following is true: * You're passing in the correct casing for the gamertag. Unfortunately for various frustrating technical reasons, the casing of the gamertag must be an exact match. So if my gamertag was VThornheart but I pass vthornheart, it will fail with error 217. * The gamertag actually exists and has played Destiny. If we haven't seen them play destiny, we won't find their info. * You have matched the appropriate membershipType to the type of account reflected by the gamertag. To use the previous example, if VThornheart is an XBox account (membershipType = 1), and you pass a membershipType of 2 (2 being the membershipType for PSN), it's not going to be able to find my destiny membership info and you'll get an error 217 again.