I’m using Google Photos with the Transloadit COMPANION_URL and I’m getting the attached error. The COMPANION_URL works with Instagram, Google Drive, Facebook, etc., but doesn’t work with Google Photos for some reason.
Here’s some of the code:
importOptions?.includes('instagram') &&
uppy.use(Instagram, {
companionUrl: COMPANION_URL,
companionAllowedHosts: COMPANION_ALLOWED_HOSTS,
});
importOptions?.includes('googleDrive') &&
uppy.use(GoogleDrive, {
companionUrl: COMPANION_URL,
companionAllowedHosts: COMPANION_ALLOWED_HOSTS,
});
importOptions?.includes('googlePhotos') &&
uppy.use(GooglePhotos, {
companionUrl: COMPANION_URL,
companionAllowedHosts: COMPANION_ALLOWED_HOSTS,
});
importOptions?.includes('facebook') &&
uppy.use(Facebook, {
companionUrl: COMPANION_URL,
companionAllowedHosts: COMPANION_ALLOWED_HOSTS,
});
importOptions?.includes('unsplash') &&
uppy.use(Unsplash, {
companionUrl: COMPANION_URL,
//companionAllowedHosts: COMPANION_ALLOWED_HOSTS,
});
importOptions?.includes('box') &&
uppy.use(Box, {
companionUrl: COMPANION_URL,
companionAllowedHosts: COMPANION_ALLOWED_HOSTS,
});
Please advise.