I linked Google Drive. After linking a document to a Trello card, when I click the link, I get this message: There is no preview available for this attachment. Download.
File size is not an issue. I turned off popup blockers. The document does go to Downloads but I'd prefer open it directly from the card.
Any remedies out there?
Thx
I'm having a similar issue posting a PDF from the local file system using the API as multipart/form-data (not sure if that's significant). The pdf is attached (I can download it), but when I click it I get "There is no preview avaiable for this attachment". This is both on the OSX app and in Chrome.
UPDATE: I've solved this by not mentioning the file type (previously I had "multipart-form-data")
import requests
url = f"https://api.trello.com/1/cards/{id}/attachments"
headers = {
"Accept": "application/json"
}
query = {
'key': key,
'token': token
}
files = {
'file': ('test.pdf', open(pdf_filename, 'rb'))
}
response = requests.request(
"POST",
url,
headers=headers,
files=files,
params=query,
)
Hello,
Thanks for reaching out about this Google Drive error. I tested this behavior but was unable to replicate the error you mentioned. To help isolate the issue, please confirm if you see the same error when attempting to preview the Google Drive attachments in this card: https://trello.com/c/lmfbzXQ6/4-community
The files are public, but please make sure you're logged into Trello when viewing the card.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.