How To Import Data When Using HTTP Authentication on Magento 2

Avoid 401 Unauthorized errors by sending the authentication info in the Import URL.

Often HTTP authentication is used on staging sites to avoid uninvited visitors.

This will block the Clerk importer as well and display a 401 Unauthorized error in the sync log.

You can easily verify the importer by inserting the authentication info in the import URL like below, in Data Sync at