Hello Omar Valencia1,
Thank you for posting on the Microsoft Community Forums.
I've found a reference article for you. You just need to troubleshoot the error based on the content of the article.
Troubleshoot replication error 1722 - Windows Server | Microsoft Learn
Kind regards
Neuvi Jiang
============================================
If the answer is helpful, please click "Accept Answer" and vote for it.