Have you experienced this error before, I get it w...
# general
r
Have you experienced this error before, I get it when creating metric alert rule in azure monitor. ā”€ azure-nativeinsightsMetricAlert alert creating failed error: autorest/azure: Service returned an error. Status=400 Code="BadRequest" Message="Criteria field 'odata.type' is missing. Activity ID: 0e792dc4-7837-4fe2-9468-c9dddef9e3e2."
e
The example on https://www.pulumi.com/registry/packages/azure-native/api-docs/insights/metricalert/ has
Copy code
{ "odataType", "Microsoft.Azure.Monitor.MultipleResourceMultipleMetricCriteria" },
As one of the Criteria objects, I guess that's neeeded?
r
@echoing-dinner-19531 Thanks it appears so