armauthorization: issue with json unmarshalling #23895
Labels
Authorization
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
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Bug Report
I'm using the Azure SDK for Go (
v3.0.0-beta.2
), specifically thearmauthorization
package, and facing an issue when callingclient.Create
with the RoleAssignmentScheduleRequestsClient. The problem seems to be with the scope parameter, but I'm unsure of the correct format. This occurs with Go version1.23.1
, and the API response isn't unmarshalling as expected.What happened?
When calling a function from the
armauthorization/v3
package, specifically when interacting with theRoleAssignmentScheduleRequestsClient
, an error occurs during the JSON unmarshalling process. The error message is:What did you expect or want to happen?
The API response should be unmarshalled correctly into the appropriate Go struct, without any errors.
How can we reproduce it?
It appears that the issue is related to the scope, but I'm unsure if there is any documentation detailing the correct format for the scope. The error occurs after the
client.Create
function is called, as indicated in the logs.Anything we should know about your environment?
Nothing specific, I'm just running the code I provided on Gentoo Linux.
The text was updated successfully, but these errors were encountered: