Failed to render HTML

The error occurred on the page: /ecuador-expats/japanese

While trying to render the HTML for "/ecuador-expats/japanese" 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": "/ecuador-expats/japanese",
  "slicesMap": {},
  "pageContext": {
    "wpCorePageId": "cG9zdDoxNzMwMw==",
    "events": [
      {
        "id": "688b3cd1-4fad-5d77-b825-88e18ef6435f",
        "name": "Carnival Vibes With InterNations Quito at Bizi Bizi 🎶",
        "startDate": "2026-02-28T19:00:00-0500",
        "endDate": "2026-02-28T22:00:00-0500",
        "url": "https://www.internations.org/event/promotion/details/1061413",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/09/f4f0abcef3672b149f60f8ca966357f5720ef50dc5c2d2051230f0418ab48d95.jpeg",
        "attendees": 6,
        "nationalityCount": 4,
        "localcommunityName": "Quito",
        "localcommunityId": 101,
        "countryCode": "ecu",
        "isNewcomerOnly": false,
        "description": "-----------For basic members (since now its not feasible to view the event location and hour of the event, for basic members) that want to come the event is at Bizi Bizi Restaurant at Whymper area this saturday 28 of February at 19h00, Location: https://maps.app.goo.gl/sahMhGxX2ThAKPyb7 Please write us if you are coming, to add you on the reservation, there is no entrance fees either.------------\n\nINTERNATIONS CARNIVAL MONTH! 🎉\n\nGet ready to come together for a fun night full of flavors, music, and festive vibes!\nJoin us for a relaxed evening to chat, connect, and enjoy great company in a lively atmosphere.\n\nWhat to expect:\n✅ Delicious food & tasty dishes\n✅ Live music 🎶\n✅ Street parking available (“zona azul”) or across from there is an Urban Park 🚗\n\n💳 Free entrance — you only pay for what you eat or drink.\n\nBring your friends, meet new people, and let’s celebrate Carnival together with Internations!\n",
        "location": {
          "name": "Bizi Bizi"
        }
      }
    ],
    "groups": [
      {
        "localcommunityId": 101,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2023/12/04/98aead7bb9ff63a6e8fb7d968fe5c39edb6365b4224886ee974e9eece6fa142f.jpeg",
        "title": "Quito Community Group",
        "url": "https://www.internations.org/activity-group/40822/activities",
        "memberCount": 11902,
        "nationalityCount": 146,
        "type": "general_group"
      },
      {
        "localcommunityId": 102,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2023/12/04/6528081953d16bfda7f18094279267f6cc0def9b5ab893d56371433f1b93625e.jpeg",
        "title": "Guayaquil Community Group",
        "url": "https://www.internations.org/activity-group/40821/activities",
        "memberCount": 5706,
        "nationalityCount": 110,
        "type": "general_group"
      },
      {
        "localcommunityId": 414,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2023/12/04/7f59b90369b0f831216e55fe77c8550ecd03265046757cf66e8b3781d16f81cf.jpeg",
        "title": "Cuenca Community Group",
        "url": "https://www.internations.org/activity-group/40819/activities",
        "memberCount": 2353,
        "nationalityCount": 95,
        "type": "general_group"
      }
    ],
    "guideLinks": [
      {
        "name": "Ecuador",
        "slug": "ecuador",
        "guides": [
          {
            "title": "Moving to Ecuador",
            "url": "https://www.internations.org/ecuador-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Ecuador",
            "url": "https://www.internations.org/ecuador-expats/guide/living-short"
          },
          {
            "title": "Working in Ecuador",
            "url": "https://www.internations.org/ecuador-expats/guide/working-short"
          },
          {
            "title": "Moving to Guayaquil",
            "url": "https://www.internations.org/guayaquil-expats/guide/moving-to-short"
          },
          {
            "title": "Moving to Quito",
            "url": "https://www.internations.org/quito-expats/guide/moving-to-short"
          }
        ],
        "location_type": "country"
      }
    ]
  }
}