Hi, im getting this error if I try to reschedulin...
# developers
t
Hi, im getting this error if I try to rescheduling a booking: Cannot read properties of undefined (reading 'appName') I checked the logs and saw this stacktrace:
Copy code
TypeError: Cannot read properties of undefined (reading 'appName')
     at updateEvent (/opt/cal.com/apps/web/.next/server/chunks/9898.js:614:29)
     at EventManager.updateAllCalendarEvents (/opt/cal.com/apps/web/.next/server/chunks/9898.js:1009:100)
     at EventManager.reschedule (/opt/cal.com/apps/web/.next/server/chunks/9898.js:855:36)
     at async handler (/opt/cal.com/apps/web/.next/server/pages/api/book/event.js:1472:31)
     at async handler (/opt/cal.com/apps/web/.next/server/pages/api/book/event.js:610:21)
     at async /opt/cal.com/apps/web/.next/server/chunks/1441.js:58:28
     at async Object.apiResolver (/opt/cal.com/node_modules/next/dist/server/api-utils/node.js:363:9)
     at async NextNodeServer.runApi (/opt/cal.com/node_modules/next/dist/server/next-server.js:487:9)
     at async Object.fn (/opt/cal.com/node_modules/next/dist/server/next-server.js:749:37)
     at async Router.execute (/opt/cal.com/node_modules/next/dist/server/router.js:253:36)
     at async NextNodeServer.run (/opt/cal.com/node_modules/next/dist/server/base-server.js:384:29)
     at async NextNodeServer.handleRequest (/opt/cal.com/node_modules/next/dist/server/base-server.js:322:20)
the strange thing is, sometimes it works directly, sometimes i need to click 2 - 3 times on reschedule until it works. Does anyone know whats the problem? I think its part from
CredentialWithAppName
which should have appName as a string
z
@Joe Au-Yeung do you have bandwidth to investigate?