Exception: Uncaught SyntaxError: Unexpected token )

Every time I open Jira, I get the following error: "An error occurred

Please try refreshing the page, or contact your administrator / Atlassian Support if the problem continues." 

 

Details

 

Here is the stack trace: 

 

 

Stack trace

2 answers

1 accepted

2 votes

Hi there,

I just found another user that had this same error in Jira Software, and he realized it was due to a browser extension, such as Grammarly.

Can you confirm you have this problem on all browsers and with all add-ons disabled, and in Incognito Mode?

Regards,

Shannon

Hi Shannon, 

Thank you for your response. It seems to be as a result of my browser extensions, and I actually also have Grammarly installed as an extension. 

Opening in incognito mode with all add-ons disabled gets rid of the issue. After disabling Grammarly, the problem disappears in normal browser. 

Thanks!

Evert,

Thank you for confirming that. I'm happy I was able to assist you.

Take care,

Shannon

We have the same issue on our Chrome browser and we don't have "Grammarly" installed as extension. Can you please tell us what else could be the issue ? 

We observed different error messages while opening the same link in different browsers except in IE.

 

Thanks

Raghava

Raghava,

It may be a different issue in that case. Any extensions might cause the issue. Do you have the same issue with all extensions disabled and in Incognito Mode?

Could you show me your whole stack trace and confirm your browser version numbers that have the issue?

Regards,

Shannon

Shannon, 

We have only two extensions in Chrome, one is "Cisco Webex" and the other one is "Symantec Extension". Both these are not enabled for incognito. But still I get the same error when opened in incognito mode.

I am attaching the error screens from both Chrome and Firefox. Hope this helps.

JIRA Error in Chrome.PNGJIRA Error in Mozilla.PNG

Thank you for confirming.

I know sometimes in Incognito mode some add-ons remain enabled even though it looks like they're disabled, so you may want to double-check that.

Failing that, I would recommend trying Safe Mode in Jira and see if an add-on isn't causing that. 

If none of this works, then we will need to raise a support ticket for you so we can look at your log files.

Regards,

Shannon

I can confirm I get this exact error all the time. I too use Grammarly. Has a support ticket been opened due to this issue & Grammarly?

Shannon Spaniol Atlassian Team Tuesday

Hi Tom,

I am unaware if the issue itself has been reported to Grammarly, but we have a feature request here for official support with Grammarly:

The error in particular is mentioned on this knowledge base article. I neglected to post this earlier:

Let me know if you have any questions about that.

Regards,

Shannon

Thanks for letting me know. I'm not holding my breath considering Atlassian has open tickets 13 years old with thousands of votes:

Query: jira votes.png

I emailed Grammarly to let them know earlier.

Hi Shannon,

This is happening since we changed the Base URL in JIRA. We used to have Server name in the base URL and we changed that to domain name. Users started getting this issue when they open any agile dashboard. So, once we reverted the changes to make the base URL back to server name, we are not seeing this issue. Is this something you heard of before ? 

 

Thanks

Raghava

Hi Raghava,

Can you check something for me while your base URL is set to the domain?

  • Have a look at this article: How to fix gadget titles showing as __MSG_gadget
  • If your gadgets also show the same (which are a symptom of Jira not being able to communicate with its domain name) then you can run through the troubleshooting steps there to fix it.
  • If your gadgets do not show the same, could you disable all of your add-ons and let me know if the problem resolves itself? We want to rule out that any add-ons are causing it.

Regards,

Shannon

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 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 ...

1,231 views 6 19
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