Put Content Update Giving 415 Error

JERREN EVERY
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!
May 10, 2024

Hello, I am trying to do something similar compared to the link below. https://confluence.atlassian.com/confkb/using-the-confluence-rest-api-to-upload-an-attachment-to-one-or-more-pages-1014274390.html

I have uploaded the Image via the post call.

I have retrieved the page info as it exists and appropriately automated the update of version number and inclusion of the reference to the image. 

When I try to update the content of the page via the Put call I get a 415 error. I am confused as to what this endpoint expects as far as receiving this content. I have tried multiple things without luck. 

1 answer

0 votes
Shawn Doyle - ReleaseTEAM
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 13, 2024

415 is an Unsupported Media Type.  

If you can include your code here, we may be able to troubleshoot with you.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events