[This group has been deleted]
This thread is inspired by another: view original post
Anyone have success with the following call?
https://www.bungie.net/platform/Destiny2/{membershipType}/Profile/{destinyMembershipId}/
The call I'm making:
https://www.bungie.net/platform/Destiny2/-1/Profile/14243036/?components=100
I keep getting the following error and have tried changing the membership type to all available options and none work.
"The input parameters were invalid, please enter valid input, and try again."
Thanks
-
I ran into the same issue. I realized that the "membershipId" (14243036 in your case) isn't the correct id to be sending to the GetProfile endpoint. You must first use your id to call the GetMembershipDataById endpoint. In your case, this call would look like: http://www.bungie.net/platform/User/GetMembershipsById/14243036/-1 In the response for this call, you will receive an array called "destinyMemberships" that looks like: "destinyMemberships": [ { "iconPath": "/img/theme/destiny/icons/icon_psn.png", "membershipType": 2, "membershipId": "4611686018462928995", "displayName": "l33tunk" } ], Use this "membershipId" (4611686018462928995) and "membershipType" (2) in your GetProfile call: http://www.bungie.net/platform/Destiny2/2/Profile/4611686018462928995/?components=100 Hope this helps <3 Documentation for GetMembershipDataById: [url]https://bungie-net.github.io/multi/operation_get_User-GetMembershipDataById.html#operation_get_User-GetMembershipDataById[/url]