Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to fetch friend list, but keeps returning a Forbidden response #94

Open
xences-valid opened this issue Apr 23, 2023 · 0 comments

Comments

@xences-valid
Copy link

        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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant