iisnode encountered an error when processing the request.
HRESULT: 0x2 HTTP status: 500 HTTP subStatus: 1002 HTTP reason: Internal Server Error
You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.
In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.
The last 64k of the output generated by the node.exe process to stderr is shown below:
Error getting the secret: invalid_client: 7000222 - [2025-12-10 03:15:44Z]: AADSTS7000222: The provided client secret keys for app '1a3f705e-321b-477c-a2a9-dd6e240f8c1e' are expired. Visit the Azure portal to create new keys for your app: https://aka.ms/NewClientSecret, or consider using certificate credentials for added security: https://aka.ms/certCreds. Trace ID: 3a812986-32fa-4c24-ac68-95247da40100 Correlation ID: 15249bb3-d9d9-4d7a-9269-a60ace008f12 Timestamp: 2025-12-10 03:15:44Z - Correlation ID: 15249bb3-d9d9-4d7a-9269-a60ace008f12 - Trace ID: 3a812986-32fa-4c24-ac68-95247da40100
(node:4812) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Error getting the secret: invalid_client: 7000222 - [2025-12-10 03:15:45Z]: AADSTS7000222: The provided client secret keys for app '1a3f705e-321b-477c-a2a9-dd6e240f8c1e' are expired. Visit the Azure portal to create new keys for your app: https://aka.ms/NewClientSecret, or consider using certificate credentials for added security: https://aka.ms/certCreds. Trace ID: 489fc0fe-1ca0-457d-b61a-56b9e22f2700 Correlation ID: 97855415-827c-45de-8b6e-65239ce174bb Timestamp: 2025-12-10 03:15:45Z - Correlation ID: 97855415-827c-45de-8b6e-65239ce174bb - Trace ID: 489fc0fe-1ca0-457d-b61a-56b9e22f2700
Error getting the secret: invalid_client: 7000222 - [2025-12-10 03:15:45Z]: AADSTS7000222: The provided client secret keys for app '1a3f705e-321b-477c-a2a9-dd6e240f8c1e' are expired. Visit the Azure portal to create new keys for your app: https://aka.ms/NewClientSecret, or consider using certificate credentials for added security: https://aka.ms/certCreds. Trace ID: 80b4f8bd-3274-457e-8089-df62322a1300 Correlation ID: 5551c8f0-d644-4f5e-96b7-ed92266d6873 Timestamp: 2025-12-10 03:15:45Z - Correlation ID: 5551c8f0-d644-4f5e-96b7-ed92266d6873 - Trace ID: 80b4f8bd-3274-457e-8089-df62322a1300
Error getting the secret: invalid_client: 7000222 - [2025-12-10 03:15:45Z]: AADSTS7000222: The provided client secret keys for app '1a3f705e-321b-477c-a2a9-dd6e240f8c1e' are expired. Visit the Azure portal to create new keys for your app: https://aka.ms/NewClientSecret, or consider using certificate credentials for added security: https://aka.ms/certCreds. Trace ID: 7daf1051-d9a4-44d8-b10f-e7cd32691200 Correlation ID: 3ceb9528-363f-4d4f-9eed-5eb9dfea0e72 Timestamp: 2025-12-10 03:15:45Z - Correlation ID: 3ceb9528-363f-4d4f-9eed-5eb9dfea0e72 - Trace ID: 7daf1051-d9a4-44d8-b10f-e7cd32691200
Application has thrown an uncaught exception and is terminated:
TypeError: Cannot read properties of undefined (reading 'cosdb')
at C:\stop_order_dev\server.js:25:30
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)