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

500Duplicate key falsejava.lang.IllegalStateException: Duplicate key

when confluence page is loading 500 duplicate key error is appeared. can anyone please help in solving the issue.

1 answer

0 votes

Hello there, @pinky ! Thanks for sharing with the community.

As I understand, you are currently unable to load Confluence pages due to a 500 error in your instance. This kind of issue can be caused by a number of variables and we should start by looking into a few details.

Let us start by checking if:

  1. This affects all pages within your instance
  2. This happens to different users
  3. This happens to pages with no macros, only text


After checking the above, we can move on and try a few things. One such thing is enabling safe-mode. Enabling safe mode will disable all user-installed apps. Here is what we need to do to enable safe-mode:

  1. Click the Cog icon at the top right corner
  2. Select Manage apps
  3. Scroll down to the bottom of the apps page
  4. Click Enable Safe Mode
  5. After enabling safe mode, check if the issue persists


Here is our documentation on this process:


Safe-mode will allow us to rule out third-party apps as the root cause of the situation. After disabling all of the apps, you can re-enable them one by one and check after each, if the issue comes back.

Since this process affects all users, we advise you to schedule a downtime for your instance prior to testing it.

Let us know if safe-mode helps you out! Looking forward to your reply!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

397 views 11 11
Join discussion

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