Help

Airtable confused by image URL

Topic Labels: Automations
382 3
cancel
Showing results for 
Search instead for 
Did you mean: 
auekk2787
7 - App Architect
7 - App Architect

I'm creating an automation that uses Brandfetch to download logos. This uses the format:

 

https://cdn.brandfetch.io/[company website]

 

e.g. https://cdn.brandfetch.io/www.broward.edu/ 

However, when I use this URL to upload an image (or if I directly upload an attachment from URL), Airtable is getting confused by the ".io" domain. It thinks it's the file extension, and will upload an image of the brandfetch home page.

auekk2787_0-1729636923221.png

I've tried doing a script and have the same problem. Something about this top-level domain is throwing off Airtable.

Does anyone have a suggestion how to get around this?

3 Replies 3
djseeds
5 - Automation Enthusiast
5 - Automation Enthusiast

Hi @auekk2787
I think this is an issue with Brandfetch rather than Airtable:

The BrandFetch Guidelines say you can only use this CDN to embed the logos directly in applications, and it has strict requirements around referrers etc., so I believe they're blocking the call by responding with their guidelines page rather than the image.

You might be able to try their Brand API instead, but it looks like that's a paid product.

DJ, Lead Developer at BaseQL

I don't think it's to do with the .io; I tried grabbing the assets from the Kubernetes site with the "Convert URL to Attachments" script and they work fine (e.g. https://kubernetes.io/_common-resources/images/flower.svg)

Brandfetch's maybe doing something specifically to prevent this?

@djseeds  I don't think that's it. I tried doing a similar download using Power Automate, and it had no issue retrieving the file. 

The screenshot that Airtable downloads has a ".io" file extension - which is really the top domain. So there's some confusion happening.