xbox-webapi-python
xbox-webapi-python copied to clipboard
Trying to fetch friend list, but keeps returning a Forbidden response
profile = await xbl_client.profile.get_profile_by_gamertag("Saa")
xuid = profile.profile_users[0].id
try:
friendlist = await xbl_client.people.get_friends_by_xuid(xuid)
except ClientResponseError as e:
print(f"Failed to fetch friend list: {e}")
profile works, the request works it's only the friendlist object im having a problem with because it just gives me a forbidden response. any help?