Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Internal error when uploading file to jira issue

We have a user who is unable to upload a file (1kb in size) to a JIRA issue, however as a system admin, I am able to. When he attempts to upload the file, he gets the following error:

'File <FileName> was not uploaded. An internal error has occurred. Please contact your administrator'

I've checked other Atlassian answers questions, such as this and this, however this is not the problem we're having. Our attachment size limit is set to 10MB so a file size of 1KB shouldn't be an issue...

Any assistance would be appreciated smile

9 answers

In our case it was nginx. By default it rejected content more than 10 mb.

I can confirm, in my case default nginx setup rejected 2.1MB word file.

Like Aleksandr Ilin likes this

1. vi /usr/local/nginx/conf/nginx.conf
In http {},
client_max_body_size 10m;
client_max_body_size 100m;

In location /jira { }
client_max_body_size 10m;
client_max_body_size 100m;

2. Restart Nginx server.
It will be ok.

I had the same issue with a .png file. I just changed the extension to .jpg and it worked.

This works!! I also met the issue with a .png file, it is resolved by changing the file to .jpg.

We had this issue and found it to be a firewall restriction on our side.  Not an issue since rules amended.
We also recently discovered that config in Jira SD should be 50% of ram availability, else performance could be hampered.  (Only mentioning as a FYI)

What was the firewall restriction? Is there a different port in use during file upload other than 8080?

What is the extension of your file ?

I have a contractor connected to Jira behind our firewall using VPN. He receives generic "internal issue" error when uploading a .JAR file. If he compresses to a ZIP and uploads he gets the same error. ZIP uploads are enabled and I'm unable to replicate the issue. I'm wondering if it is a firewall issue because his VPN security group is limited in access.

Same problem with mp4 file, Jira and Confluence - the same errors.

@Helen Griffiths I am having exactly the same situation, can you tell me how did you fixed it?

Same issue here but with the difference of .mp4 files? Is it possible Atlassian put some restrictions on certain file types?

Worth checking the file too (keeping things simple).

If the file is protected (or in Edit Mode in PDF) it may not upload.

Simply amending this status could enable the offending file to be uploaded.


You can use FireBug to examine the request  and to see more information.

The problem is probably the content-type of your file. See the request to know this information



0 votes

Could you check the log?  It usually has more details which can help!

Hi @Nic Brough [Adaptavist]

Yes, I've had a look at the logs (atlassian-JIRA and std-err), but as I expected, it doesn't tell me anything about why this is happening...sad

Like # people like this

If there's an "internal error", it should have logged something, even just the act of having an internal error.  If there's absolutely nothing, then it's something on the browser side which is failing (lost network connection?)

Hi @Nic Brough [Adaptavist]

There's not a lot in the log, i've looked thoroughly. He is now getting a different error whereby it's saying 'Browser made bad request to the server' which appears to be something cookie related... maybe...i've asked him to clear his browser cookies, but he's still getting the error and unable to upload the file.

I've raised a call with Atlassian for a bit of guidance too, but thank you for coming back to me.


change your computer registry

HKEY_CLASSES_ROOT\.sql\Content Type from "text\plain" to "text/plain"

Like Aleksandr Ilin likes this

Suggest an answer

Log in or Sign up to answer

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