Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Attachment file name and extension is not displaying on the confluence page body

I am uploading a file using node.js and axios via APIs onto my confluence page and using the following endpoint:

PUT  https://<companyname><pageID>/child/attachment

The file uploads correctly under the "Attachments" section of the page with the file name and extension (DataDictionary.txt).

I am then trying to put the file onto the main page's body and instead of showing "DataDictionary.txt" I see a random number 1990001000.


I am using the following endpoint:

PUT on https://<companyname><pageID>

with the payload:


1 answer

0 votes
Diego Atlassian Team Apr 27, 2021

Hello there!

That is an interesting behavior, @Affan Rashid. I was not able to replicate it, so I would like to ask you a few questions:

  1. Are you uploading a new version of the attachment?
  2. Are you able to set the file preview via user interface?
  3. Is this affecting one specific file type or multiple ones?


I was also able to find a report about a very similar case, but it only happens when the user tries to upload a new version of the attachment. You can check it here:


Let us hear from you!

Hi Diego,

1. I update the version number every time I do a PUT on the following endpoint.

PUT on https://<companyname><pageID>

 I increment the version number by 1 in my code on the following payload:

Greenshot 2021-04-27 12.08.47.png

2. I was able to manually upload the file using the "Files & Images" option on my page and the preview correctly shows the file as a .txt

Greenshot 2021-04-27 12.08.47.png

3. I have not tried with any other file types.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

🥓🙅🏻‍♀️ Meet-less May Badge!

Hello Confluence Community!  What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. (Read m...

530 views 3 23
Read article

Community Events

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

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you