The United Kingdom recognized Liberia's independence early on, but the United States did not do so until 15 years after the fact. Since Liberia was a former US colony would that have made this independence illegitimate until the US formally recognized it?
Was Liberia a US protectorate? with answers by u/ombudsmen and u/Commustar may give some more information while waiting for a more specific answer.