error: JIRA could not attach the file as there was a missing token. Please try attaching the file again. on Google Chrome

error: JIRA could not attach the file as there was a missing token. Please try attaching the file again. It happens on Google Chrome today.

13 answers

2 votes

This happens when there's a network error, or timeout.  The easiest way to replicate it is to leave the computer for a while and then try the action - your tokens expire. Sometimes, it can happen when you're trying to upload too large a file as well.

Have you tried it again yet?  If you did, what happened?

"leave the computer for awhile and then try"

OMG, so let's define "awhile".  A minute?  An Hour"? A day?.  Do I leave the computer and go sit in another room or do I have to leave the building?  Or can I just throw a blanket over it so it thinks I left.    Maybe I could leave it at Atlassian headquarter and they could fix it.

Priceless.

No, that is clearly not what I said.

Please try reading the answer properly and thinking about it in the context of the question that was asked, instead of being silly.

Hi Nic, I was wondering what you'd advise if a user has experienced the same issue in multiple browsers, using various different files and a number of different tickets? Cache has been cleared, the user has logged in and out of JIRA...nothing basic seems to work.

And she didn't leave her machine for a while either...literally fired up a new browser, logged into JIRA, tried to attach a file...and got the same error.

1 votes
Ann Worley Atlassian Team May 10, 2017

Could it be that people have Confluence open in another tab and and it's overwriting the JIRA cookie?

Logging into another Atlassian application logs me out of Confluence

I doubt the case, because I never run Confluence. None of them listed here work. Any resolution from Atlassian?

logout from jira and login again. That's Solution

No, that is not a solution, that is a workaround.

This happened to me today on Firefox (50.1.0).  Earlier today, I cleared my entire Firefox history/cache/cookies/etc.  My network is fine and the file is only 392k.

Just happened in Chrome as well...

Happening in Chrome even though "Block third-party cookies..." is disabled.

this is happening when login to JIRA from Confluence space shortcut link.

this is not due large file or session time out, this could be bug.

How is this an acceptable answer? "This could be a bug"?

Someone accepted a useless and wrong answer here, so people stopped paying attention.

Have a look at where Ann and I give useful answers.

For me too "Happening in Chrome even though "Block third-party cookies..." is disabled."

This is happening to me in Chrome.  Did anyone ever find an answer?

I'm encountering the same problem today on Chrome when I try to attach an image or excel file to a bug in jira. I am not running Confluence.

Well, I might as well add my voice that I can't attach a file in Chrome while using Jira 7.2.8 (no Confluence, no one overwriting my cookies, just plain broken)

BTW, works fine in Firefox.

I had two tabs open to JIRA. All I had to do was refresh the given tab and there was no more token error. 

Refresh worked for me here as well.

 

0 votes

Logout from jira and login again.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

265 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot