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

backup.JobsClient#List API fails with JSON unmarshalling error #21690

Closed
ParthaI opened this issue Oct 5, 2023 · 4 comments
Closed

backup.JobsClient#List API fails with JSON unmarshalling error #21690

ParthaI opened this issue Oct 5, 2023 · 4 comments
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Previous Versions Work related to track1 and track1.5 SDKs Recovery Services Backup

Comments

@ParthaI
Copy link

ParthaI commented Oct 5, 2023

Bug Report

  • import path of package: github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2021-01-01/backup
  • SDK version: v58.0.0+incompatible
  • Go version: go version go1.21.1 darwin/arm64
  • While making the API call of Recovery service Backup List by providing the required input param, it is failing by throwing an error Error: backup.JobsClient#List: Failure responding to request: StatusCode=200 -- Original Error: Error occurred unmarshalling JSON - Error = 'json: cannot unmarshal number into Go struct field JobResourceList.value of type backup.JobSupportedAction'
  • I want to get the result instead of any error.
  • Make the Recovery service Backup List API call by providing the required input
  • Anything we should know about your environment: N/A
@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Oct 5, 2023
@jhendrixMSFT jhendrixMSFT added Mgmt This issue is related to a management-plane library. Previous Versions Work related to track1 and track1.5 SDKs and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Oct 5, 2023
@github-actions github-actions bot added needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team labels Oct 5, 2023
@jhendrixMSFT
Copy link
Member

This is from our legacy SDK which has limited support. The latest version of this SDK can be found here. Can you please try it and see if it resolves your issue?

@jhendrixMSFT jhendrixMSFT added needs-author-feedback Workflow: More information is needed from author to address the issue. and removed needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team labels Oct 5, 2023
@github-actions
Copy link

github-actions bot commented Oct 5, 2023

Hi @ParthaI. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

@ParthaI
Copy link
Author

ParthaI commented Oct 5, 2023

Thanks you @jhendrixMSFT, for your quick assist I will give it a try with latest version of SDK, and let you know.

@github-actions github-actions bot added needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team and removed needs-author-feedback Workflow: More information is needed from author to address the issue. labels Oct 5, 2023
@jhendrixMSFT jhendrixMSFT added Recovery Services Backup and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Oct 5, 2023
@ParthaI
Copy link
Author

ParthaI commented Oct 6, 2023

@jhendrixMSFT, I can confirm that, the API seems to be working fine with latest version of SDK, Thanks you!

@ParthaI ParthaI closed this as completed Oct 6, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Previous Versions Work related to track1 and track1.5 SDKs Recovery Services Backup
Projects
None yet
Development

No branches or pull requests

2 participants