Error : Cannot read properties of undefined (reading '_id') #1114

Closed
opened 2026-04-05 16:25:23 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @srividyavihari on 3/21/2024

Describe the Error
Cannot read properties of undefined (reading '_id').

To Reproduce
I have created a trigger on create incident as the below
image

Once the incident is created it should a notify in the microsoft teams channel as below. So i created a webhook and updated the webhook in the component as below.
image

However, when i create a incident, the trigger doesnt work and i when i run the workflow manually, i see the logs as below.

image

image

** Expected **
I believe, the trigger will have to be executed and message should be posted in our teams channel.

*Originally created by @srividyavihari on 3/21/2024* **Describe the Error** Cannot read properties of undefined (reading '_id'). **To Reproduce** I have created a trigger on create incident as the below ![image](https://github.com/OneUptime/oneuptime/assets/147608536/9286569c-3630-4bad-982d-cd5bfef1e7f1) Once the incident is created it should a notify in the microsoft teams channel as below. So i created a webhook and updated the webhook in the component as below. ![image](https://github.com/OneUptime/oneuptime/assets/147608536/11e1c368-283a-41b0-9356-0a87cc97633b) However, when i create a incident, the trigger doesnt work and i when i run the workflow manually, i see the logs as below. ![image](https://github.com/OneUptime/oneuptime/assets/147608536/8585aa73-60e7-48bc-a732-fb151f6f53a1) ![image](https://github.com/OneUptime/oneuptime/assets/147608536/50e41e9e-33ea-419c-a506-4fa57c73c370) ** Expected ** I believe, the trigger will have to be executed and message should be posted in our teams channel.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#1114