Looking for help with broken link tiles for attachments
Asked by Bernd Kaufmann:

Hi,

I am currently only evaluating Confluence to use in our team, so I might very well be doing something wrong. Hoping for some help with two problems:

On an Confluence Page with multiple attachments I have one tile for a file that is supposed to be deleted that shows up as "Failed to load" - Retry. I can still see the file in the attachments view and it has 0kb and can't be removed. What could I have done wrong?

The second issue seems to come from the Companion App (just guessing):

There is a Word document attached that has been edited via the Companion App. Afterwards it shows up as an empty tile and can't be clicked anymore. The attachment is still fully available in the attachment view, though.

Any help would be greatly appreciated.

Best,

B.![attachments.png](/t5/image/serverpage/image-id/94856iC83517EDBC76654C/image-size/large?v=v2&px=999 "attachments.png")


Answers:
author: Diego
body: Hello [@Bernd Kaufmann](/t5/user/viewprofilepage/user-id/3838224) ! As I understand, we have two different behaviors at hand here. Here we go:
> 1. *Deleted attachments still show up but as "Failed to load" card*
> 2. *Files touched by the Companion App become "unclickable"*

For the second behavior, we have an already existing ticket reporting it. Here, take a look:
> * ++***[\[Confluence Cloud\] Attachment on page no longer clickable after editing in Atlassian Companion](https://jira.atlassian.com/browse/CONFCLOUD-65903)***++

Moving into the first behavior you described, I believe that I was able to replicate it. Here is how:
> 1. *Create a new page*
> 2. *Attach a file to it*
> 3. *Publish page*
> 4. *Go into Attachments page*
> 5. *Delete file directly from there*
> 6. *Check that previously available file now displays "Failed to load" message*
> 7. *Edit page again*
> 8. *Do not remove the file placeholder*
> 9. *Publish page*
> 10. *Check that "Failed to load" card is still there*
> 11. *Click the paper clip icon to go into Attachments page*
> 12. *Check that now we have a file called "Invalid file ID -- UNKNOWN_MEDIA_ID" with 0.0kB as size*

Two notes about this behavior:
> 1. *I can delete the "Invalid file ID -- UNKNOWN_MEDIA_ID" file from the Attachments list*
> 2. *I can remove the empty file placeholder when editing the page*

What I ask from you is:
> 1. *Would it be possible for you to check if the file placeholder can be removed while editing the page?*
> 2. *A screenshot of the Attachments page so we can verify that you see the same thing as I saw ("Invalid file ID -- UNKNOWN_MEDIA_ID")*

*++My workaround to the first behavior was manually removing both the file placeholder and the "Invalid file ID -- UNKNOWN_MEDIA_ID" file from my page.++*

Looking forward to your reply!

comments: author: Bernd Kaufmann
body: Hi Diego_Canto_Rodrigues,

thank you for looking into my issue. I did not check the solution for the Companion App problem, yet, but I tried to replicate the "deleted attachments" issue:

I created a page and attached a simple txt file.

After step 5 the attachments page does not show any files anymore.

I can confirm that I have the "failed to load" tile after step 6.

Funny enough, after step 9 in your todo-list I do not see the "Failed to load" tile, but a different file (a pdf), which is attached to another page in another space. Very strange.  
If I then switch to the attachment view, there are still no files.

Hope you can make some sense from this.

Thanks for your support. It is highly appreciated.  
Cheers,  
B.

Sceenshots:

After step 3:

![afterStep3.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/95503i1816D3DC2DEB7A84/image-size/large?v=v2&px=999 "afterStep3.PNG")after step 5:

![afterStep5.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/95504i8DB2A8183D23C844/image-size/large?v=v2&px=999 "afterStep5.PNG")after step 6:

![afterStep6.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/95505iE87516C4C2E72E1A/image-size/large?v=v2&px=999 "afterStep6.PNG")after step 9:

![afterStep9.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/95507i30A0436C44FF1CDB/image-size/large?v=v2&px=999 "afterStep9.PNG")


Tags: cloud