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

It has happened. #1

Open
hypothermic opened this issue Apr 14, 2019 · 0 comments
Open

It has happened. #1

hypothermic opened this issue Apr 14, 2019 · 0 comments

Comments

@hypothermic
Copy link

me.kbrewster.exceptions.APIException: This should'nt happen
	at me.kbrewster.mojangapi.MojangAPI.getProfile(MojangAPI.java:63)
	at nl.hypothermic.launcher.AuthHolder.authenticate(AuthHolder.java:297)
	...

Here's a snippet of my code, the exception gets thrown when calling getProfile() in the second line:

AuthenticatedUser user = MojangAPI.authenticate(username, password, clientToken, true);
Profile profile = MojangAPI.getProfile(UUID.fromString(MojangAPI.addDashes(user.getUser().getId())));

Any idea what's going wrong?

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