Failed to render HTML

The error occurred on the page: /germany-expats/costa-ricans/es

While trying to render the HTML for "/germany-expats/costa-ricans/es" an error occurred. In order to make the build succeed you'll need to fix the error in your site. See the stacktrace below to find the culprit. Also be sure to read Debugging HTML Builds if you need more help.

Error

ReferenceError: window is not defined
    at AdUnit (/var/lib/jenkins/workspace/in-content-platform_main@2/.cache/page-ssr/routes/webpack:/content-platform/src/components/core/GlobalPartners.tsx:11:5)
    at Fb (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:65:44)
    at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:67:254)
    at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
    at Jb (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:76:98)
    at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:68:145)
    at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
    at Jb (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:76:98)
    at Kb (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:75:140)
    at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:345)
    at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:68:479)
    at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
    at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:67:482)
    at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
    at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:71:68)
    at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)

Extra Details

Below you'll find additional data that might help you debug the error.

Page Data

The page data contains some metadata about the affected page. If data from the GraphQL is undefined, try running the query in the GraphiQL IDE.

{
  "errors": {},
  "path": "/germany-expats/costa-ricans/es",
  "slicesMap": {},
  "pageContext": {
    "wpCorePageId": "cG9zdDoyMDMxMw==",
    "events": [
      {
        "id": "77bcb378-c20f-56c6-b62d-180ea784fb61",
        "name": "Coffee at My Zeil",
        "startDate": "2026-02-25T17:00:00+0100",
        "endDate": "2026-02-25T18:00:00+0100",
        "url": "https://www.internations.org/activity-group/10322/activity/658515",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/24/340feefc2a7d82f3be797e102cccafbb30429f9ee3841e3dcb67167aeaa68b33.jpeg",
        "attendees": 2,
        "nationalityCount": 2,
        "localcommunityName": "Frankfurt",
        "localcommunityId": 21,
        "countryCode": "ger",
        "isNewcomerOnly": false,
        "description": "Dear all,\nLet's enjoy a good coffee at Starbucks at my Zeil Shopping Centre",
        "location": {
          "name": ""
        }
      },
      {
        "id": "e1519d03-5213-5082-b0db-c378b9b9a76b",
        "name": "Falemos Português Edição Fev.26",
        "startDate": "2026-02-25T18:00:00+0100",
        "endDate": "2026-02-25T20:30:00+0100",
        "url": "https://www.internations.org/activity-group/11/activity/657935",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/18/2b92189c3a1c7cece78a904774822ec9f5ddf29080db9a8ffa04d6ade335ab0e.jpeg",
        "attendees": 6,
        "nationalityCount": 4,
        "localcommunityName": "Munich",
        "localcommunityId": 20,
        "countryCode": "ger",
        "isNewcomerOnly": false,
        "description": "Vamos nos encontrar para falar português  ? \n  Edição Fevereiro de 2026.\n \n  Todos os níveis de domínio do idioma português são bem vindos 😉. Vamos comer, beber e jogar conversa fora….\n\n\nLet's get together to speak Portuguese?\nFebruary 2026 Edition.\n\nAll levels of Portuguese language proficiency are welcome 😉. Let's eat, drink, and chat...",
        "location": {
          "name": ""
        }
      },
      {
        "id": "9925a7e0-e9db-5283-bca4-12502f2a3ebb",
        "name": "Riesling Goes Japan - Afterwork Meetup in a Japanese Bar",
        "startDate": "2026-02-25T18:00:00+0100",
        "endDate": "2026-02-25T20:00:00+0100",
        "url": "https://www.internations.org/activity-group/256/activity/657954",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/19/b333730fc13634f1e9720a19e7ddfe8befa26aed3251f4d6ec1d17fb232f7d22.jpeg",
        "attendees": 6,
        "nationalityCount": 4,
        "localcommunityName": "Duesseldorf",
        "localcommunityId": 22,
        "countryCode": "ger",
        "isNewcomerOnly": false,
        "description": "Let's get together at the Japanese {% location %}\"Cyan Wine Bar\"{% endlocation %} for a relaxed wine tasting in a pleasant atmosphere.\n\nI haven't been to this wine bar yet and I'm excited to explore it with you. The references praise the selection of wines and the cozy atmosphere.\n\nIts closed to the \"Oststraße \" in {% location %} Klosterstraße 68A, 40211{% endlocation %} Düsseldorf.\n\nI hope to see you there.",
        "location": {
          "name": ""
        }
      },
      {
        "id": "46a1b935-3006-5c2e-971f-69ef06f7c4b2",
        "name": "Movie \"Once Upon a Time in Gaza\"",
        "startDate": "2026-02-25T18:20:00+0100",
        "endDate": "2026-02-25T20:30:00+0100",
        "url": "https://www.internations.org/activity-group/33318/activity/658039",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/20/3a2c77582533412122a770e26cf7a2686b41a75524798a15279ebc68d1b24889.jpeg",
        "attendees": 1,
        "nationalityCount": 1,
        "localcommunityName": "Cologne",
        "localcommunityId": 236,
        "countryCode": "ger",
        "isNewcomerOnly": false,
        "description": "Once Upon a Time in Gaza (2025), directed by twin brothers Tarzan and Arab Nasser, is a stylized, often dark comedy-drama set against the backdrop of the Gaza Strip, blending genre filmmaking with gritty realism. Critics described it as a, at times, uneven yet poignant depiction of survival, often using humor and a \"Western\" feel to highlight the absurdity of daily life under occupation",
        "location": {
          "name": ""
        }
      }
    ],
    "groups": [
      {
        "localcommunityId": 18,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2023/02/28/1839522de0573e86ed053652fab1becd85b968c977b1203b087b58b7c698aca3.jpeg",
        "title": "Street Food Group",
        "url": "https://www.internations.org/activity-group/10461/activities",
        "memberCount": 1504,
        "nationalityCount": 125,
        "type": "default"
      },
      {
        "localcommunityId": 18,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2015/08/10/830811ce71f149de535fdff45014dda106f165b503408499e418f200bb9ee2d7.png",
        "title": "Comedy in English Group",
        "url": "https://www.internations.org/activity-group/2035/activities",
        "memberCount": 1951,
        "nationalityCount": 134,
        "type": "default"
      },
      {
        "localcommunityId": 18,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2015/08/10/23c9881e38aeb2d7aa536c7c20a68567e43c21c1399058d0d7d37079f50ac5ff.png",
        "title": "Party Group",
        "url": "https://www.internations.org/activity-group/2178/activities",
        "memberCount": 3499,
        "nationalityCount": 147,
        "type": "default"
      },
      {
        "localcommunityId": 18,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2019/03/25/bbac0284f78c9e1a96483caa731570f92aa67de96abddaebed17d358e31776a9.jpeg",
        "title": "Stay Active & Have Fun Group",
        "url": "https://www.internations.org/activity-group/226/activities",
        "memberCount": 2421,
        "nationalityCount": 131,
        "type": "default"
      }
    ],
    "guideLinks": [
      {
        "name": "Germany",
        "slug": "germany",
        "guides": [
          {
            "title": "Moving to Germany",
            "url": "https://www.internations.org/germany-expats/guide/moving-to"
          },
          {
            "title": "Relocating",
            "url": "https://www.internations.org/germany-expats/guide/relocating"
          },
          {
            "title": "Visas & Work Permits",
            "url": "https://www.internations.org/germany-expats/guide/visas-work-permits"
          },
          {
            "title": "Housing",
            "url": "https://www.internations.org/germany-expats/guide/housing"
          },
          {
            "title": "Healthcare",
            "url": "https://www.internations.org/germany-expats/guide/healthcare"
          },
          {
            "title": "Banks & Taxes",
            "url": "https://www.internations.org/germany-expats/guide/banks-taxes"
          },
          {
            "title": "Education",
            "url": "https://www.internations.org/germany-expats/guide/education"
          },
          {
            "title": "Working",
            "url": "https://www.internations.org/germany-expats/guide/working"
          },
          {
            "title": "Living",
            "url": "https://www.internations.org/germany-expats/guide/living"
          },
          {
            "title": "Moving to Aachen",
            "url": "https://www.internations.org/aachen-expats/guide/moving-to-short"
          },
          {
            "title": "Moving to Augsburg",
            "url": "https://www.internations.org/augsburg-expats/guide/moving-to-short"
          },
          {
            "title": "Moving to Berlin",
            "url": "https://www.internations.org/berlin-expats/guide/moving-to-short"
          },
          {
            "title": "Moving to Bochum",
            "url": "https://www.internations.org/bochum-expats/guide/moving-to-short"
          },
          {
            "title": "Moving to Bonn",
            "url": "https://www.internations.org/bonn-expats/guide/moving-to-short"
          },
          {
            "title": "Moving to Bremen",
            "url": "https://www.internations.org/bremen-expats/guide/moving-to-short"
          },
          {
            "title": "Moving to Cologne",
            "url": "https://www.internations.org/cologne-expats/guide/moving-to-short"
          },
          {
            "title": "Moving to Darmstadt",
            "url": "https://www.internations.org/darmstadt-expats/guide/moving-to-short"
          },
          {
            "title": "Moving to Dortmund",
            "url": "https://www.internations.org/dortmund-expats/guide/moving-to-short"
          },
          {
            "title": "Moving to Dresden",
            "url": "https://www.internations.org/dresden-expats/guide/moving-to-short"
          },
          {
            "title": "Moving to Duesseldorf",
            "url": "https://www.internations.org/duesseldorf-expats/guide/moving-to-short"
          }
        ],
        "location_type": "country"
      }
    ]
  }
}