feedback icon indicating copy to clipboard operation
feedback copied to clipboard

Install Site Extension returns 400 Bad Request

Open colin-higgins opened this issue 4 years ago • 10 comments

Describe the bug The Try It feature of the installsiteextension endpoint returns a cryptic HTTP 400 status. The Try It feature works for both start and stop for the same site.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://docs.microsoft.com/en-us/rest/api/appservice/webapps/installsiteextension
  2. Click on Try It
  3. Enter valid Azure App Service name
  4. Enter valid Azure App Service resource group name
  5. Enter valid Azure App Service Site Extension Id
  6. See error

Expected behavior The site extension should attempt install or return some actionable error.

Screenshots Attempt to install the site extension image

400 Response image

Desktop (please complete the following information):

  • OS: Windows Pro
  • Browser: Chrome
  • Version 10.0.19041

colin-higgins avatar Feb 04 '21 19:02 colin-higgins

Thank you for creating the issue! One of our team members will get back to you shortly with additional information. If this is a product issue, please close this and contact the particular product's support instead (see https://support.microsoft.com/allproducts for the list of support websites).

welcome[bot] avatar Feb 04 '21 19:02 welcome[bot]

Hello, any updates on this issue?

colin-higgins avatar Feb 10 '21 14:02 colin-higgins

Hi, checking in again for any updates on this issue.

colin-higgins avatar Feb 23 '21 19:02 colin-higgins

Hi, any updates on this issue?

colin-higgins avatar Mar 24 '21 10:03 colin-higgins

Hi I'm running into the same issue and repeated the steps above, and I'm getting the same issue. Anyone out there that can look into this, please?

sksallaj82 avatar Mar 30 '21 16:03 sksallaj82

Hi, I'm running in exactly the same issue, any update??

jose-escalona avatar Jun 16 '21 09:06 jose-escalona

I'm running into this problem also. I can install the app service site extension using the azure cli ("az resource create ... ") but when i try the same using the "Try It" function in https://docs.microsoft.com/en-us/rest/api/appservice/webapps/installsiteextension , it gives me a Response Code of 400 with no information as to why. Could someone look into this please?

thatran avatar Jun 16 '21 18:06 thatran

Same issue here...

AleksuKey avatar Jul 27 '21 10:07 AleksuKey

I will also add that the API itself is broken when trying it from azure cli.

colin-higgins avatar Aug 04 '21 16:08 colin-higgins

So the docs website is definitely broken but if you use something like Postman and submit the request with {} as the request's body, it'll work. Looks like the server requires a JSON body even if it's unused.

BryceBarbara avatar Mar 28 '22 16:03 BryceBarbara