You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a site extension to a web app using the following code, I receive a CloudException "Operation returned an invalid status code 'BadRequest'".
After investigation, I found that the underlying Microsoft.Azure.Management.AppService.Fluent.WebAppsOperations.BeginInstallSiteExtensionWithHttpMessagesAsync method sends no Content in its _httpRequest. Changing the auto generated code to send an empty object fixed the issue.
When adding a site extension to a web app using the following code, I receive a
CloudException
"Operation returned an invalid status code 'BadRequest'".After investigation, I found that the underlying
Microsoft.Azure.Management.AppService.Fluent.WebAppsOperations.BeginInstallSiteExtensionWithHttpMessagesAsync
method sends no Content in its_httpRequest
. Changing the auto generated code to send an empty object fixed the issue.I haven't looked into why the AutoRest Code Generator is creating this code.
The text was updated successfully, but these errors were encountered: