Open
Description
API Spec link
API Spec version
2024-07-01
Describe the bug
Operation VirtualMachines_AssessPatches failed when the VM's architecture is Arm64, and the error message returned by REST API was not enough to describe the issue.
{
"startTime": "2024-10-22T06:44:16.3486511+00:00",
"endTime": "2024-10-22T06:44:34.6455815+00:00",
"status": "Failed",
"error": {
"code": "VMGuestPatchInternalError",
"message": "An internal execution error occurred. Please retry later."
},
"name": "xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Yet from kusto query, we can get more detailed exception message:
Expected behavior
We can get more detailed exception message from REST API like it shows in the kusto.
Actual behavior
REST API only returns message: An internal execution error occurred. Please retry later
.
Reproduction Steps
- Create an Arm64-based VM resource.
- Call API: https://learn.microsoft.com/en-us/rest/api/compute/virtual-machines/assess-patches?view=rest-compute-2024-07-01&tabs=HTTP
Environment
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment