Microsoft.RecoveryServices - confusing/incorrect error message #32688
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices
API Spec version
2023-02-01
Question/Query
The API returns a confusing/incorrect error message when attempting to set an existing backup item's
ProtectionState
toBackupsSuspended
.Error message:
The error message above seems to imply that this operation was denied because the vault was in an immutable state, which it was not, interestingly enabling vault immutability and sending the request again responds with
HTTP 202
and subsequentGET
requests show this was applied to the backup item.I encountered it in API version
2023-02-01
however the behaviour seems to be the same in the latest stable version (2024-10-01
)Example Request
Environment
No response
The text was updated successfully, but these errors were encountered: