Bamboo reports HTTP 400 Bad Request with "mirrors.not.supported", "repository.stash.error.mirror.versionNotSupported" responses when interacting with Bitbucket Server

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

Summary

Bamboo reports the following HTTP 400 Bad Request errors when communicating with Bitbucket during certain operations.

  • mirrors.not.supported
  • repository.stash.error.mirror.versionNotSupported

Environment

  • Bamboo 6.2 or later
  • Bitbucket Server

Diagnosis

When checking the HTTP response received by Bamboo after communicating with Bitbucket, users can see the following:

{
  "errorCode": "mirrors.not.supported",
  "message": "repository.stash.error.mirror.versionNotSupported"
}

Cause

Mirrors are only supported on Bitbucket Data Center versions. Running a Server licence will generate those messages.

Solution

The message can be ignored. You can also upgrade your Bitbucket to a Data Center licence to enable the mirrors feature.

Last modified on Jun 30, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.