It can happen in case you purchased it before or tried to purchase it before but didn't have enough funds (merit badges should be in your inventory at the time you make a purchase). You can attempt to buy this jar only once per the character.
What is your character name you have the issue with? Will check it and have the purchase log cleared for the Constellation Jar, so you could complete the purchase.