When updating an existing mongocluster through the MongoClusters_CreateOrUpdate API using the response returned by the MongoClusters_Get API, an error was received, the update operation failed.
Expected behavior
Update should succeed. The API shouldn't care if this is set (like most of the other Azure APIs).
Actual behavior
Update failed, the API returns the following error.
{"error":{"code":"bad_request","message":"Found schema errors for api-version 2024-07-01. Errors: The property '#/systemData' of type null did not match the following type: object in schema 25debcc2-6915-5536-9566-a2ecd765b755"}}
Reproduction Steps
Step1: Get an existing mongocluster which compute tier is free.
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/mongocluster/resource-manager/Microsoft.DocumentDB/stable/2024-07-01/mongoCluster.json#L279
API Spec version
2024-07-01
Describe the bug
When updating an existing mongocluster through the MongoClusters_CreateOrUpdate API using the response returned by the MongoClusters_Get API, an error was received, the update operation failed.
Expected behavior
Update should succeed. The API shouldn't care if this is set (like most of the other Azure APIs).
Actual behavior
Update failed, the API returns the following error.
{"error":{"code":"bad_request","message":"Found schema errors for api-version 2024-07-01. Errors: The property '#/systemData' of type null did not match the following type: object in schema 25debcc2-6915-5536-9566-a2ecd765b755"}}
Reproduction Steps
free
.free
toM30
.Environment
No response