Hello,
I am unable to preview the attached image (jpeg) on some of the cards created using Trello API on 2022-04-04 from around 18:00 to 20:00 (UTC). The attached image are shown as a grey box with the word "Link" and the full url of the original image on the right hand side of the box. By clicking the url, I can see the original image.
The attachement is added by sending the url of the image using the following api after the card is created:
https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-post
I tried to reproduce the problem after 20:00 on 2022-04-04 with the same procedure, the attached image was uploaded successfully. I am able to see the preview and use the image as the cover of the card.
Could anyone help me figure out what cause the preview not working? Any help would be greatly appreciated. Thank you.
Hi there,
We don't have similar reports of this, so it may have been a short glitch or could be related to something else. One thing that comes to mind, is the behaviour that you experienced happens for non-picture file formats, so it could be that somehow your attachment wasn't detected as a JPEG file. Would you be able to check the filetype by using this endpoint: https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-attachments-idattachment-get
Thanks,
Ryan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.