Could you please have someone look into it. I've attached a screenshot. This happens when you click the insert button (after the file has been attached to the page).
It's a little concerning that this doesn't have an automated test attached to it.... but also doesn't have a try catch statement for the error...
I'd imagine the majority of people using this functionality would be business people so they wouldn't know to look at the chrome developer tools...
Welcome to Atlassian Community. It's nice to have you!
I noticed your reply on How to embed a pdf file to a page? and have merged your question with this one here.
It appears that you may be encountering this known bug:
Until this bug is resolved, you'll want to make sure that the PDF attachments you want to reference in a page are attached locally.
Can you try that and let me know how it goes?
By the way, if you need assistance in the future on Community, I always recommend that you create a new question rather than replying on a much older one, if you want to ensure that your question is seen by the Community.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event