Summary
Full error message is: "Unauthorized endpoint. You must create a domain by going to Setup > My Domain. This domain can take some time to register. However, you will receive an email from Salesforce once registration is complete."
Resolution
Set up a domain in the Salesforce account. How to connect Salesforce to ActiveCampaign
Cause
This error appears because a domain has not been set up in the Salesforce account.