Forum Discussion
About subscription teams channel to get change notifications
I subscribed to teams channel through the Graph API: Create subscription
In the normal processing case below:
I can correctly parse the change notification chat message content by the following code.
But when the following error occurs in the program, i get chatMessage.EventDetail is empty.
When this error message appears, how should I get the chatMessage.EventDetail content correctly ?
Thanks.
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.
- Nivedipa-MSFTMicrosoftShawnLien1129 - Could you please share the screenshot in English language and share the error message which you are getting?
- ShawnLien1129Brass Contributor
Nivedipa-MSFT , thanks
When this error occurs, the value of chatMessage.EventDetail received is null.
- Nivedipa-MSFTMicrosoft
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.