BeginInstallSiteExtension and BeginInstallSiteExtensionSlot Return 400 Bad Request Without Error Code or Response Body #23516
Labels
App Services
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
package: github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appservice/armappservice
SDK version: V4 (the error is also present in V2 and V3 versions)
Output of go version: go version go1.22.4 darwin/arm64
The functions
BeginInstallSiteExtension
andBeginInstallSiteExtensionSlot
fromWebAppsClient
return a status code 400 Bad Request without an error code and no response body when attempting to install a site extension:I expected the client to successfully initiate the installation of the site extension without errors. Alternatively, if there is an error, I expected a detailed error message with an error code and response body to help diagnose the issue. Notably, the
DeleteSiteExtension
andDeleteSiteExtensionSlot
functions return an error with status code 200... I can parse theResponseError
to check theStatusCode
, but not ideal.Here's a snippet of the code that reproduces the issue:
If you need any more details, please let me know.
The text was updated successfully, but these errors were encountered: