Airtable Attachment: Search returns original upload URL instead of Airtable URL

Hi,

I have a very strange behaviour with Airtable attachments.

  • I upload several flux generated images using "Create a record"module in a loop.
  • The images are correctly uploaded to the Airtable.
  • Later in the same scenario I use the “Search records” module in order to retrieve the rows with the images
  • In some cases (can’t be reproduced), one URL out of 4 I get as an output is the original URL that I used to upload the image NOT the Airtable URL I need.

See the screenshots:

  • The first shows the Create Record and the circled field contains the URL for the upload
  • The second shows the wrong result for one image (yellow) and the correct result for another (green)
  • The thirds shows the output bundles which make it obvious that there’s a difference.

Any idea what could cause this?

Best
Sven



Hello @sorimmelspacher, The airtable url should be under the attachment from the search records, then you will see the url it’s quite easy

Hey @Pathfinder_Automate,

thanks for your reply.

It’s not that I don’t see it, it’s simply the wrong URL in the same loop! I tested the whole process 6 times (which results in 24 URLs in the answers, because each execution loops through 4 images). In 3 exections I had one wrong URL, sometimes the first, sometimes another. As I wrote, this can’t be reproduced.

Best
Sven

Has anyone an idea what could cause the problem? Is this maybe a bug in the module?

Solved: That was a timing problem!

Since I did not find any reasons why that could happen, I tried to insert a 60 seconds Sleep module before I read the rows. That did it. Now the URLs are always correct.

If I understand correctly, Airtable seems to need some time until the attachements are processed correctly. But still it’s a strange behaviour from my point of view.