In JetBrains TeamCity prior to 2021.1.3, the X-Frame-Options header is missing in some cases.
jetbrains teamcity