I have successfully gotten airtable to upload a PNG and a PDF from Dropbox.
But when airtable processes the file, the type is listed as text/html
If I include a type field, I get an error:
{
"fields": {
"Type": "Test",
"Comment": "",
"Attachments": [
{
"url": "https://www.dropbox.com/s/XXXXXXX/robots.png?dl=1",
"type": "image/png"
}
],
"User": "",
"Part": [
"recFI6JhdkwTCeB9q"
]
}
}
And I receive this:
{
"error": {
"type": "INVALID_ATTACHMENT_OBJECT",
"message": "Invalid attachment object for field Attachments: {\n \"url\": \"https://www.dropbox.com/s/XXXXXXXX/robots.png?dl=1\",\n \"type\": \"image/png\"\n}"
}
}
But if i just strio out the “type” there is no error, just the type is wrong.