Azure / azure-sdk-for-js

This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.09k stars 1.2k forks source link

Azure Resource Management Resource Health Sample Issue #27926

Open zzhxiaofeng opened 11 months ago

zzhxiaofeng commented 11 months ago

1. Section link1, link2 GetImage (12) Reason: Do not find a property named recommendedactions on type Microsoft.Azure.Management.ResourceHealthCheck.Provider.Models.Response.ResourceAvailabilityStatus. GetImage (13)

@joheredi, @qiaozha for notification.

kazrael2119 commented 11 months ago

This should be a service issue: If we have enough results to make the service call nextlink, we can get the expected response before calling nextlink. But when calling the nextlink url, we will get same error with author:

"ResponseBody": {
        "message": "Could not find a property named \u0027recommendedactions\u0027 on type \u0027Microsoft.Azure.Management.ResourceHealthCheck.Provider.Models.Response.ResourceAvailabilityStatus\u0027.",
        "code": "InvalidODataQueryOptions"
      }

I tried to remove expand=recommendedactions in the nextlink and rerun it, it works well. But through this way, I can't get recommendedactions from the response values after calling the nextlink.

I suspect there is an issue with the parsing of expand in nextlink by the service Add ServiceAttention label to ask service team for help

github-actions[bot] commented 11 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure @stephbaron.

v-weiyding commented 4 months ago

@kazrael2119 We retested and encountered new errors. The error information is as follow: image

kazrael2119 commented 3 months ago

@kazrael2119 We retested and encountered new errors. The error information is as follow: image

I don't think internal error with status 500 is a sdk issue, @stephbaron could you take a look? thanks this issue still exists in nextlink

I can repro this issue and here is the full test recording for this operation recording_resourcehealth_list_test.json

github-actions[bot] commented 3 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @stephbaron.