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.

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.