Bamboo reports HTTP 400 Bad Request with "mirrors.not.supported", "repository.stash.error.mirror.versionNotSupported" responses when interacting with Bitbucket Server
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.