The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Shawn Doyle - ReleaseTEAM
Community Champion
May 13, 2024

415 is an Unsupported Media Type.  

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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events