While trying to render the HTML for "/switzerland-expats/it" 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": "/switzerland-expats/it",
"slicesMap": {},
"pageContext": {
"wpCorePageId": "cG9zdDoyMTcyOQ==",
"events": [
{
"id": "6994a5cb-42d6-5746-ab94-201bf63d539e",
"name": "Basler Fasnacht - Cortege over Lunch",
"startDate": "2026-02-25T13:00:00+0100",
"endDate": "2026-02-25T15:00:00+0100",
"url": "https://www.internations.org/activity-group/25896/activity/657831",
"image": "https://assets.in-cdn.net/image/{format}/2026/02/17/edc4a9a4409ce133b487618bf566c1056255f17e3b4823ba0c2727430fc31d4b.jpeg",
"attendees": 6,
"nationalityCount": 6,
"localcommunityName": "Basel",
"localcommunityId": 253,
"countryCode": "sui",
"isNewcomerOnly": false,
"description": "Lets meet on Wednesday, 25 February, over lunch to watch the Cortege together.",
"location": {
"name": ""
}
},
{
"id": "cd432e5b-01f1-5a56-ba0e-5baefcc2f300",
"name": "After Work Drinks",
"startDate": "2026-02-25T18:00:00+0100",
"endDate": "2026-02-25T20:00:00+0100",
"url": "https://www.internations.org/activity-group/12284/activity/657219",
"image": "https://assets.in-cdn.net/image/{format}/2026/02/10/71e1c7aeb1cecc3a90b744d3c3779917c66f69c3a19aab24c6d9b6916dce58c5.jpeg",
"attendees": 23,
"nationalityCount": 16,
"localcommunityName": "Zurich",
"localcommunityId": 54,
"countryCode": "sui",
"isNewcomerOnly": false,
"description": "🍸 Stylish Indoor Vibes: Escape the cold and wind and wind down your workday at one of Zurich’s coziest cocktail lounges. {% location %}Almodobar{% endlocation %} offers a relaxed, intimate setting with a vibrant atmosphere—perfect for mingling and enjoying great drinks.\n\n🍷 Creative Cocktails & More: From signature cocktails and classic spritzes to wine, beer, and non-alcoholic options, there's something for every taste. Let the expert bartenders at {% location %}Almodobar{% endlocation %} surprise you!\n\n🥨 Small Bites Available: While the focus is on drinks, light snacks and tapas-style bites are available to complement your evening.\n\n💸 Pay Your Way: Each guest covers their own tab—feel free to enjoy as much or as little as you like.\n\n📅 RSVP Reminder: Can’t make it? Please unregister by Tuesday at 12:00. This helps other members on the waiting list to join as well as the host plan accordingly.\n\nLooking forward to a cozy evening of great drinks, good conversation, and fantastic company! 🍹🕺🎶",
"location": {
"name": ""
}
},
{
"id": "b9278a21-efd7-57df-bdd0-ec7e851469a3",
"name": "InterNations Lausanne Official Event @ Tacos Bar",
"startDate": "2026-02-25T18:30:00+0100",
"endDate": "2026-02-25T22:30:00+0100",
"url": "https://www.internations.org/event/promotion/details/1061469",
"image": "https://assets.in-cdn.net/image/{format}/2026/02/12/b7dd64fe8bdea0fa3eda5168beed1db2e42cd12a06d63b3b9e44d7a72c18a079.jpeg",
"attendees": 53,
"nationalityCount": 25,
"localcommunityName": "Lausanne",
"localcommunityId": 262,
"countryCode": "sui",
"isNewcomerOnly": false,
"description": "Dear All,\n\nWe’re happy to invite you to our next official after-work event in Lausanne! This is another great opportunity to reconnect, meet new members, and enjoy a relaxed evening in good company.\n\nWhether you’re a longtime member or new to the community, you’re warmly welcome to join us.\n\nEvent Highlights:\n\nWelcome session to kick things off\n\nNewcomer introductions—If you’re new, feel free to say a few words or share a fun fact\n\nConsul updates – Hear what’s coming up in our local activity groups\n\nFood & Drinks:\nA welcome drink at the bar and light food will be available to share—a perfect setup for mingling and conversation.\n\nImportant Notes:\n\nEntrance Fee: Cash only at the door (no credit cards accepted)\n\nIf your plans change, kindly update your attendance.\n\nGuests welcome! Feel free to bring your friends; just make sure they sign up for InterNations first, becoming a Basic Member, and use a free trial to join the guest list.\n\nWe, your Lausanne Ambassadors, are looking forward to seeing you again and making this another enjoyable and welcoming evening for everyone.\n\nLet’s keep the energy of 2026 going strong—see you there!",
"location": {
"name": "Tacos Bar"
}
},
{
"id": "72f6037d-abd4-54cc-b925-7763ee7259f5",
"name": "Wecome to InterNations Zurich | February Newcomers' Event ",
"startDate": "2026-02-25T18:30:00+0100",
"endDate": "2026-02-25T21:30:00+0100",
"url": "https://www.internations.org/event/promotion/details/1061375",
"image": "https://assets.in-cdn.net/image/{format}/2026/02/05/99519b6ef529d27c09863d4ac1453b9a4c1e027035380c511fd591026ae9e1da.jpeg",
"attendees": 27,
"nationalityCount": 18,
"localcommunityName": "Zurich",
"localcommunityId": 54,
"countryCode": "sui",
"isNewcomerOnly": true,
"description": "I am excited to invite you to my February Newcomers' Event! Whether you’ve recently joined our community or are interested in learning more about what we have to offer, this event is the perfect opportunity to connect with fellow newcomers and get acquainted with our vibrant community.\n\nJoin me for an evening of networking and engaging discussions to help you make friends and feel at home. I will be there to answer any questions you may have and guide you through your journey with us.\n\nDon’t miss out on this fantastic chance to meet new people, discover exciting opportunities, and expand your network. I am looking forward to warmly welcoming you to our community!\n\nIf you have any further questions or require additional information, please feel free to contact me.\n\nLooking forward to welcoming you all :)\n\n",
"location": {
"name": "Sinaloa"
}
}
],
"groups": [
{
"localcommunityId": 247,
"moodImage": "https://assets.in-cdn.net/image/{format}/2019/04/08/aa85f791b358f97c45abeb648c740f522a33e3f3f8a86b110b958a5e206da329.png",
"title": "Sports Group",
"url": "https://www.internations.org/activity-group/10931/activities",
"memberCount": 376,
"nationalityCount": 59,
"type": "default"
},
{
"localcommunityId": 247,
"moodImage": "https://assets.in-cdn.net/image/{format}/2015/08/10/e199b996dadd3f8aa0032c747fe7783e031766a914f3238d90f0f77b72f2ff03.png",
"title": "Arts and Culture Group",
"url": "https://www.internations.org/activity-group/1989/activities",
"memberCount": 782,
"nationalityCount": 83,
"type": "default"
},
{
"localcommunityId": 247,
"moodImage": "https://assets.in-cdn.net/image/{format}/2019/11/14/f33f9797f1777e463f2d247b941cecf98c6f45ec72b66c430ce83e81adc1894e.jpeg",
"title": "Singles Group",
"url": "https://www.internations.org/activity-group/27068/activities",
"memberCount": 399,
"nationalityCount": 72,
"type": "default"
},
{
"localcommunityId": 247,
"moodImage": "https://assets.in-cdn.net/image/{format}/2015/08/10/d05df044645e071d91de40445621406507b4e236c0490fe971aac978417cf895.png",
"title": "The Witty Banter Lounge Group",
"url": "https://www.internations.org/activity-group/3133/activities",
"memberCount": 1362,
"nationalityCount": 127,
"type": "default"
}
],
"guideLinks": [
{
"name": "Switzerland",
"slug": "switzerland",
"guides": [
{
"title": "Moving to Switzerland",
"url": "https://www.internations.org/switzerland-expats/guide/moving-to"
},
{
"title": "Relocating",
"url": "https://www.internations.org/switzerland-expats/guide/relocating"
},
{
"title": "Visas & Work Permits",
"url": "https://www.internations.org/switzerland-expats/guide/visas-work-permits"
},
{
"title": "Housing",
"url": "https://www.internations.org/switzerland-expats/guide/housing"
},
{
"title": "Healthcare",
"url": "https://www.internations.org/switzerland-expats/guide/healthcare"
},
{
"title": "Banks & Taxes",
"url": "https://www.internations.org/switzerland-expats/guide/banks-taxes"
},
{
"title": "Education",
"url": "https://www.internations.org/switzerland-expats/guide/education"
},
{
"title": "Working",
"url": "https://www.internations.org/switzerland-expats/guide/working"
},
{
"title": "Living",
"url": "https://www.internations.org/switzerland-expats/guide/living"
},
{
"title": "Moving to Basel",
"url": "https://www.internations.org/basel-expats/guide/moving-to-short"
},
{
"title": "Moving to Bern",
"url": "https://www.internations.org/bern-expats/guide/moving-to-short"
},
{
"title": "Moving to Geneva",
"url": "https://www.internations.org/geneva-expats/guide/moving-to-short"
},
{
"title": "Moving to Lausanne",
"url": "https://www.internations.org/lausanne-expats/guide/moving-to-short"
},
{
"title": "Moving to Lucerne",
"url": "https://www.internations.org/lucerne-expats/guide/moving-to-short"
},
{
"title": "Moving to Lugano",
"url": "https://www.internations.org/lugano-expats/guide/moving-to-short"
},
{
"title": "Moving to St. Gallen",
"url": "https://www.internations.org/st-gallen-expats/guide/moving-to-short"
},
{
"title": "Moving to Zug",
"url": "https://www.internations.org/zug-expats/guide/moving-to-short"
},
{
"title": "Moving to Zurich",
"url": "https://www.internations.org/zurich-expats/guide/moving-to-short"
},
{
"title": "Moving from the UK to Switzerland",
"url": "https://welcome.internations.org/moving-from-the-uk-to-switzerland"
}
],
"location_type": "country"
}
]
}
}