App Error

Your application server has encountered an error
Server Log
'client-name': 'unknown', 'client-os': 'unknown', 'client-type': 'unknown', 'device-type': 'unknown', 'user-agent': 'Mozilla/5.0', bot: 'apple' }, geolocation: { city: 'Ljubljana', country: 'SI', region: '061', timezone: 'Europe/Ljubljana' }, 'user-variables': { aid: 'KHGJhRuW8qsfAi9oM', site: 'https://workshops.si' } } } [mailgun] [debug] eventData.message: { headers: { 'message-id': '44abf49d-fe0b-1a61-2a39-eff96197f0f8@workshops.si' } } [mailgun] [lrs] [debug] jsonStatement: { actor: { objectType: 'Agent', name: 'belminahalvadzic@gmail.com', account: { homePage: 'https://workshops.si', name: 'belminahalvadzic@gmail.com' } }, verb: { id: 'http://miteam.eu/xapi/verb/mail-opened', display: { und: 'mail-opened' } }, object: { id: 'https://workshops.si/asset/KHGJhRuW8qsfAi9oM', definition: { type: 'http://miteam.eu/xapi/activitytype/asset', extensions: [Object] }, objectType: 'Activity' }, target: { id: 'https://workshops.si/asset/KHGJhRuW8qsfAi9oM', definition: { type: 'http://miteam.eu/xapi/activitytype/asset' }, objectType: 'Activity' }, context: { extensions: { 'http://id.tincanapi.com/extension/tags': [Array], 'http://id.tincanapi.com/extension/assessment-type': 'mailgun-webhook', 'http://miteam.eu/xapi/extension/mail-campaigns': [], 'http://miteam.eu/xapi/extension/mailgun/user-variables': [Object], 'http://miteam.eu/xapi/extension/mailgun/storage': {}, 'http://miteam.eu/xapi/extension/mailgun/envelope': {}, 'http://miteam.eu/xapi/extension/mailgun/flags': {}, 'http://miteam.eu/xapi/extension/miteam/aid': 'KHGJhRuW8qsfAi9oM', 'http://miteam.eu/xapi/extension/miteam/site': 'https://workshops.si', 'https://xapi.gowithfloat.net/extension/host': 'https://workshops.si', 'http://id.tincanapi.com/extension/ip-address': '172.225.34.229', 'http://id.tincanapi.com/extension/location': '{"city":"Ljubljana","country":"SI","region":"061","timezone":"Europe/Ljubljana"}', 'http://id.tincanapi.com/extension/mailgun-geolocation': [Object], 'http://id.tincanapi.com/extension/mailgun-client-info': [Object] } }, version: '1.0.0' } [Fri Mar 20 2026 00:35:51 GMT+0100 (Central European Standard Time)] [LRS] SEND Statement maigun webhook event. [status: mail-opened, event-data: [object Object]] [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Fri Mar 20 2026 00:35:58 GMT+0100 (Central European Standard Time)] [sfu] got heartbeat [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Fri Mar 20 2026 00:36:08 GMT+0100 (Central European Standard Time)] [sfu] got heartbeat [Fri Mar 20 2026 00:36:10 GMT+0100 (Central European Standard Time)] [sessions] Meteor.setInterval OIDC NMP team members obtain refresh tokens [3cx] Received pong, resetting ping timeout. [Fri Mar 20 2026 00:36:11 GMT+0100 (Central European Standard Time)] [License] Connected clients nr: 1 [Fri Mar 20 2026 00:36:11 GMT+0100 (Central European Standard Time)] [sessions] Meteor.setInterval removeDszTeamMembers [Fri Mar 20 2026 00:36:11 GMT+0100 (Central European Standard Time)] [License] dsPlayers: 0 [3cx] Attempting to get Active calls [Fri Mar 20 2026 00:36:11 GMT+0100 (Central European Standard Time)] [License] activeWebcasts: 0 [Fri Mar 20 2026 00:36:11 GMT+0100 (Central European Standard Time)] [License] activeRecordings: 21 [Fri Mar 20 2026 00:36:11 GMT+0100 (Central European Standard Time)] [License] Used licenses 8 [3cx] getActiveCalls GOT RESPONSE [Fri Mar 20 2026 00:36:18 GMT+0100 (Central European Standard Time)] [sfu] got heartbeat [3cx] Attempting to get Active calls [3cx] getActiveCalls GOT RESPONSE [Fri Mar 20 2026 00:36:28 GMT+0100 (Central European Standard Time)] [sfu] got heartbeat [3cx] Attempting to get Active calls Error during token acquisition: Failed to get active calls: 401 Unauthorized - meteor://💻app/app/app.js:46661 throw new Error("Failed to get active calls: ".concat(response.status, " ").concat(response.statusText, " - ").concat(errorText)); ^ Error: Failed to get active calls: 401 Unauthorized - at getActiveCalls (server/3cx.js:177:19) at processTicksAndRejections (node:internal/process/task_queues:105:5) at MethodInvocation.getActiveCalls (server/3cx.js:440:19) Node.js v22.22.0 Exited with code: 1 Your application is crashing. Waiting for file change.
Fix the error in your code and save your files. Once your server is running without errors, then reload this page.