Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why are inline attachments not found after doing a rest update content?

michael.mercer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 30, 2021

I have an existing confluence page with an inline attachment (a pdf). I am using the rest api update content where all I'm doing is using the original content returned and only appending a html link. The update succeeds and I see the link at the bottom of the page however the PDF is changed to an image and when clicking on the image, a message pops up saying the file is not found. I can restore the page to a previous version and the PDF is found. What am I doing wrong? Thank you! Michael

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 1, 2021

Hi Michael,

Thanks for joining us on Atlassian Community! Welcome. :) 

Can you show us the call you're making to REST API and the response?

We can try to help you, but you may find help with our Developer Community instead. The folk there are more familiar with these development-related questions since this Community is mostly end-users.

I look forward to your response!

Take care,

Shannon

michael.mercer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 1, 2021

Shannon, thanks for replying. It has been determined to skip the update at this time due to time constraints. When I have time I'll ask the question in the developer community.

Like Shannon S likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events