Forums

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

Getting 504 While Editing File

Gourav Jangra
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!
January 24, 2025

We are trying to update a file using below API on our Data Center environment - 

https://developer.atlassian.com/server/bitbucket/rest/v905/api-group-repository/#api-api-latest-projects-projectkey-repos-repositoryslug-browse-path-put

I am using token for this API that I have created by choosing admin.

Some time it update the content with proper message and content but still it gives 504
I tried it using curl command and postman from both I am getting same issue.



Error from Postman -

<html>
<head>
<title>504 Gateway Time-out</title>
</head>
<body>
<center>
<h1>504 Gateway Time-out</h1>
</center>
<hr>
<center>nginx</center>
</body>
</html>


Could it be because of some permission issue or some thing else ?

1 answer

0 votes
Brant Schroeder
Community Champion
July 27, 2025

@Gourav Jangra welcome to the Atlassian community

I would suggest checking to make sure that there is not a firewall rule blocking the network traffic.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events