MicrosoftDocs / feedback

📢 docs.microsoft.com site feedback
https://learn.microsoft.com
Creative Commons Attribution 4.0 International
239 stars 160 forks source link

Install Site Extension returns 400 Bad Request #3448

Open colin-higgins opened 3 years ago

colin-higgins commented 3 years ago

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):

welcome[bot] commented 3 years ago

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).

colin-higgins commented 3 years ago

Hello, any updates on this issue?

colin-higgins commented 3 years ago

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

colin-higgins commented 3 years ago

Hi, any updates on this issue?

sksallaj82 commented 3 years ago

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?

jose-escalona commented 3 years ago

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

thatran commented 3 years ago

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?

AleksuKey commented 3 years ago

Same issue here...

colin-higgins commented 3 years ago

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

BryceBarbara commented 2 years ago

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.