Failed to render HTML

The error occurred on the page: /lima-expats/dutch

While trying to render the HTML for "/lima-expats/dutch" 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": "/lima-expats/dutch",
  "slicesMap": {},
  "pageContext": {
    "wpCorePageId": "cG9zdDo3Nzcy",
    "events": [
      {
        "id": "58c83426-5fb8-5179-94b0-7ed948edd8bf",
        "name": "InterNations Lima Summer Official Socializing",
        "startDate": "2026-02-27T19:30:00-0500",
        "endDate": "2026-02-27T22:30:00-0500",
        "url": "https://www.internations.org/event/promotion/details/1061463",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/11/5cc5a2821921440ca397af7b8025be2386e30aa855f85848110f84b1c2009c6c.jpeg",
        "attendees": 22,
        "nationalityCount": 4,
        "localcommunityName": "Lima",
        "localcommunityId": 105,
        "countryCode": "per",
        "isNewcomerOnly": false,
        "description": "Escape the ordinary and join us in Cataleya, in the heart of Miraflores. If you're ready to break away from conventional nightlife, Cataleya\nis the place to be – dedicated to pure listening pleasure.\nEnjoy a sophisticated evening.\nDon't miss this unforgettable evening where music is combined with cocktails.\nSecure your place for this spectacular night by clicking the attend button, invited your friends.\nJoin us for a night of pure fun!\n\nif you bring a friend who is not part of the InterNations community, you will get free entry.\nWe're a friendly group and always welcome newcomers with a smile.\n\nPayment is accepted in cash or Yape/Plin only.\n\nSee you there!",
        "location": {
          "name": "cataleya rooftop"
        }
      }
    ],
    "groups": [
      {
        "localcommunityId": 105,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2025/05/07/71d17a087a99093fc482b3bf14d9f23b5eebc9927c96dbea3486489bf42da21f.jpeg",
        "title": "Lima Community Group",
        "url": "https://www.internations.org/activity-group/41670/activities",
        "memberCount": 25673,
        "nationalityCount": 158,
        "type": "general_group"
      }
    ],
    "guideLinks": [
      {
        "name": "Lima",
        "slug": "lima",
        "guides": [
          {
            "title": "Moving to Lima",
            "url": "https://www.internations.org/lima-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Lima",
            "url": "https://www.internations.org/lima-expats/guide/living-short"
          },
          {
            "title": "Working in Lima",
            "url": "https://www.internations.org/lima-expats/guide/working-short"
          },
          {
            "title": "Moving to Peru",
            "url": "https://www.internations.org/peru-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Peru",
            "url": "https://www.internations.org/peru-expats/guide/living-short"
          },
          {
            "title": "Working in Peru",
            "url": "https://www.internations.org/peru-expats/guide/working-short"
          }
        ],
        "location_type": "city"
      }
    ]
  }
}