Why isn't the Media Macro able to find the audio file attached to the page?

Hi, there.

I'm trying to use the Media macro to embed an audio recording on a Confluence page and am getting the following error message:

Error rendering macro 'multimedia': com.atlassian.renderer.v2.macro.MacroException: Cannot find attachment 'filename.MP3'

The file is attached directly to the page. I thought that perhaps Confluence just wasn't recognizing that the file is there, so I tested it by creating a link to the attachment. The link works: it opens a new tab and the file plays (eventually).

Am I doing something wrong? What would cause the Media macro to be unable to find a file that is directly attached?

Thanks!

Sami Moran

1 answer

1 accepted

1 vote
Answer accepted

The multimedia macro seems to have trouble with spaces in a filename.

Removed the spaces in the file name, and this fixed it.

Thank you!

Any other ideas? Even with no spaces I still get an error. I can actually find the the media when i originally use the multimedia macro (if I use a !). However, once I go in and try to edit the macro to adjust size the file can no longer be found.

Even though it is clearly attached to the page.

For what it's worth, I'm having that same issue – that once I try to edit the macro for adjusting size, the file can no longer be found. Reverting to an earlier version of the page restored the macro's ability to display the file, but it's obviously not an ideal solution.

Removing the colon from the page title fixed the "cannot find attachment" nonsense, even though that bug (https://jira.atlassian.com/browse/CONF-37284) is supposedly fixed.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,227 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you