An attachment url is disallowed

Hi there!

I need to send calendar invites by email automation to people I book for events. I’m using Make to create the calendar invite and upload it as a file in Airtable.

Then, I’m using automations to send the .ics file as an email attachment to people I book for my events. They can then download it from their email and it creates a calendar invite for them. Everything seem to work just fine when I test things.

However, I have two types of emails to send via automations :

  • Initial invitation when I’m booking someone to an event :

    • Triggered when the entry matches conditions
    • Sends email with .ics attachment
    • This one doesn’t work and the error is ‘An attachment url is disallowed’
  • Updates (for when something changes such as the event duration) :

    • Triggered when the entry is updated
    • Sends emails with .ics attachment
    • Works fine!

Any idea why my initial email won’t send? My guess is that it’s because the trigger is too fast and the file hasn’t completely uploaded to Airtable so the automation still thinks it’s a link instead of a file. I have no idea how to correct this though.

Thanks a lot !

Hello @Andreanne_St-Gelais and welcome to the Make Community!

To clarify, is the screenshot showing the scenario that works?

Sounds like you might be on the right track with the delay in uploading the file to Airtable.
You could try adding a Sleep module after the Airtable module to give it time to upload.
You could also optionally combine that with an Airtable module to read the record and verify the attached file is what it’s supposed to be before using it.

3 Likes

Hi! The scenario in Make works just fine. It’s the email automation in Airtable that (I think) is getting sent out before the file finishes uploading. But I like your idea. I’ll try to find a way to add a step in my airtable automations and see if that works.