Skip to main content

Hi, I captured a screenshot via code and it returns me data uri of image. I need to upload that on airtable but when i tried manually through aortable link url option in attachment field, getting this error “Error fetching URL metadata.”



I need to confirm that i will accept data uri or not. How i will upload screenshot through code if its not accepting data uri of image.



Thanks in anticipation

Welcome to the Airtable community!



The Airtable Standard API can only create attachments from a traditional url, not a data uri.



A workaround is to temporarily upload your image to a 3rd party service that accepts data uri for an image and returns a url. Then you can use that url to upload the attachment to Airtable.


Reply