SOLVED

About subscription teams channel to get change notifications

Brass Contributor

I subscribed to teams channel through the Graph API: Create subscription 

In the normal processing case below:

ShawnLien1129_0-1670570848575.png

I can correctly parse the change notification chat message content by the following code.

ShawnLien1129_1-1670570899842.png

But when the following error occurs in the program, i get chatMessage.EventDetail is empty.

ShawnLien1129_2-1670570984627.png

 

When this error message appears, how should I get the chatMessage.EventDetail content correctly ?
Thanks.

7 Replies
@ShawnLien1129 - Could you please share the screenshot in English language and share the error message which you are getting?

@Nivedipa-MSFT , thanks

When this error occurs, the value of chatMessage.EventDetail received is null.

ShawnLien1129_0-1670826650453.png

best response confirmed by ShawnLien1129 (Brass Contributor)
Solution

@ShawnLien1129 - The call recording was not uploaded. It's getting error, so the event was not completed. Thats why the eventDetails are empty.
If the recording was uploaded in Teams succesfully, then the event was completed and will get the details of an event.

There is no way to get the chatMessage.EventDetails when the recording was failed to upload.

Thanks,
Nivedipa
-------------------------------------------------------------------------
If the response is helpful, please click Mark as Best Response and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

Could you please share your valuable feedback via Microsoft Teams Developer Community Response Feedback link.

@Nivedipa-MSFT 

Except for change notifications, is there any other api that i can get the download link info for this error message ? Thanks.

ShawnLien1129_0-1670895721480.png

 

@ShawnLien1129Currently we don't have any API to get video recording link of a meeting or to download the recorded video. 

Could you please share your valuable feedback via Microsoft Teams Developer Community Response Feedback link.

 

=> Done.

1 best response

Accepted Solutions
best response confirmed by ShawnLien1129 (Brass Contributor)
Solution

@ShawnLien1129 - The call recording was not uploaded. It's getting error, so the event was not completed. Thats why the eventDetails are empty.
If the recording was uploaded in Teams succesfully, then the event was completed and will get the details of an event.

There is no way to get the chatMessage.EventDetails when the recording was failed to upload.

Thanks,
Nivedipa
-------------------------------------------------------------------------
If the response is helpful, please click Mark as Best Response and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

View solution in original post