-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Open
Labels
API ManagementMgmtThis issue is related to a management-plane library.This issue is related to a management-plane library.Service AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Description
API Spec link
API Spec version
2024-05-01
Describe the bug
original issue: Azure/azure-sdk-for-python#40909
Calling the api to get operation result for a long operation in api version 2024-05-01
, the response doesn't respect the right format, which causes the exception while polling for the results though SDK. The api works fine in older api versions.
Expected behavior
It should return {"status": "Succeeded"}
Actual behavior
It returns {"value":[]}
Reproduction Steps
Then get the operation status by calling: https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/operationResults/5c730e343244df1b9cb56e85?api-version=2024-05-01
Receive {"value":[]}
Environment
No response
janinternet, jlasdev, rafaelpadovezi and willianantuneswillianantunes
Metadata
Metadata
Assignees
Labels
API ManagementMgmtThis issue is related to a management-plane library.This issue is related to a management-plane library.Service AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
jlasdev commentedon Jun 12, 2025
Having the same issue