Bitbucket Server reports "No row with the given identifier exists" error

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

Various operations are failing, for example:

  • logging it to Bitbucket Server

  • deleting users

The following appears in the atlassian-bitbucket.log

1 No row with the given identifier exists

Cause

In the past, this has been caused by one of the following:

  • Database corruption

  • Add ons behaviour

Resolution

This is the list of steps to be performed to address this issue (in order of increasing impact for the end users)

  • Disable the add ons by using the Safe Mode option unless a precise add on can be identified as the root cause of the issue

  • Restart Bitbucket Server

  • Restore from a previous backup

Updated on April 11, 2025

Still need help?

The Atlassian Community is here for you.