Cosmetica

Cosmetica

2M Downloads

"Error connecting to Cosmetica servers - We couldn't authenticate your account!" when using Curseforge Launcher

bvnniz opened this issue · 4 comments

commented

image

I can't customize my character at all...! I know my internet is working because, well, I'm typing this.. lol... and I'm watching YouTube at the same time. Could it be because I'm using the Curseforge Launcher to play Minecraft? :(

commented

okay, well.... turns out it was a specific "lore" option that would give that error... but nothing else would? weird

commented

What was the lore option?

commented

What was the lore option?

sorry i literally forgot about this T_T the lore option in question was the very first in the list

image

i just wanted the cute little face under my name 😅

commented

I can replicate the issue.

The API requires lore strings to be URL encoded and then base64 encoded. The website does this, but the mod just base64 encodes without URL encoding first.

Website:
(✿´-ω-`) -> (%E2%9C%BF%C2%B4-%CF%89-%60) -> KCVFMiU5QyVCRiVDMiVCNC0lQ0YlODktJTYwKQ==

Mod:
(✿´-ω-`) -> KOKcv8K0Lc+JLWAp

The API requires URL encoding to maximise compatibility (we encountered issues on some browsers without URL encoding), so we'll make this change through the mod, not the API.

Should be fixed in the next update (1.2.2). Until then, set your lore via the website. The rest of the in-game customization should work fine.