In one of our environments the OOTB /etc/cloudsettings.kernel.js/libs/settings/cloudsettings/legacy/contexthub is giving 404. This issue happens both in author and publisher. The AEM version is 6.4.6.
But when I changed the sling:resourceType to "granite/contexthub/cloudsettings/components/baseconfiguration" it started working.
Yes, for "etc/cloudsettings/default/contexthub" the sling:resourceType should be "granite/contexthub/cloudsettings/components/baseconfiguration"
Note: As per the 6.4 repository restructuring there are some manual steps in regards to Context Hub -- https://helpx.adobe.com/experience-manager/6-4/sites/deploying/using/repository-restructuring-in-aem...