Forum Discussion
Updating alerts
Updating an alert we got this error:
{
"error": {
"code": "",
"message": "An error has occurred.",
"innerError": {
"message": "'System.Collections.Generic.List<IsgWebApi.DataProvider.DataProviderDiagnostic>' does not contain a definition for 'FirstOrDefault'",
"request-id": "149c6676-fe81-40ce-8ff0-d10661d68854",
"date": "2018-08-31T11:09:43"
}
}
}
Maybe it needs to use System.Linq?
3 Replies
- Edward KovalFormer EmployeeHi Jordi,
We apologize for the inconvenience, our team has resolved the issue and update should be working now.
Thank you,
Edward- Jordi Marchán MartínezCopper Contributor
Hi Eduard,
Now it does't throw the error and stores the data I send, but it still not save the comments field.- Edward KovalFormer Employee
Can you please send me a direct message with the request id so we can troubleshoot the request? We have recently pushed an update to the alert schema which contains a breaking change to the comments property, please read the post here: https://techcommunity.microsoft.com/t5/Using-Microsoft-Graph-Security/Final-updates-to-the-alerts-schema/m-p/240590#M41