Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [ResourceHealth] Property refreshTimestamp returned by the service does not follow the RFC format #31331

Open
ChenxiJiang333 opened this issue Oct 30, 2024 · 1 comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Mgmt This issue is related to a management-plane library. Resource Health Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@ChenxiJiang333
Copy link
Member

API Spec link

https://github.com/Azure/azure-rest-api-specs/blob/main/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/stable/2022-10-01/ResourceHealth.json#L2121C10-L2121C26

API Spec version

2022-10-01

Describe the bug

The API https://learn.microsoft.com/en-us/rest/api/resourcehealth/emerging-issues/list?view=rest-resourcehealth-2022-10-01&tabs=HTTP returns property refreshTimestamp with value in format like 2024-10-30 06:54:11Z. Yet according to https://datatracker.ietf.org/doc/html/rfc3339#section-5.8, a vaild date-time string should be like 2024-10-30T06:54:11Z.

Expected behavior

Return date-time string in format like 2024-10-30T06:54:11Z.

Actual behavior

It returns 2024-10-30 06:54:11Z that is not a valid date-time string and has caused deserialization error in SDK.

Reproduction Steps

Calling API https://learn.microsoft.com/en-us/rest/api/resourcehealth/emerging-issues/list?view=rest-resourcehealth-2022-10-01&tabs=HTTP.

Environment

No response

@ChenxiJiang333 ChenxiJiang333 added bug This issue requires a change to an existing behavior in the product in order to be resolved. Mgmt This issue is related to a management-plane library. Resource Health Service Attention Workflow: This issue is responsible by Azure service team. labels Oct 30, 2024
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue requires a change to an existing behavior in the product in order to be resolved. Mgmt This issue is related to a management-plane library. Resource Health Service Attention Workflow: This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

1 participant