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

stride - how to upload file with python Edited

I have been trying to upload file on a stride room for a couple of days. The question is, the code does not return any error message, but the file is not uploaded. I wonder why.

There are couple of similar questions, but they are all about Jira

Please help me with this issue. I used the code below

(FYI: get_access_token() is just access token string)


def upload_file(file_path):
url = '{}/conversation/{}/media'.format(CLOUD_ID, CONV_ID)

with open(file_path, 'rb') as f:,
files = {file_path : f},
'authorization': "Bearer " + get_access_token(),
'content-type' : 'application/'




1 answer

0 votes


How are you? I hope you are doing well :)

We would like to suggest you access and post this question in there for further help on this and many more questions related to the topic.

Thank you!

Suggest an answer

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

Stride and Hipchat Cloud have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

2,421,873 views 26 26
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