Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.69k stars 5.11k forks source link

Create Zip Deployment For Static Site Build - Error NotImplemented #22267

Open antunesl opened 1 year ago

antunesl commented 1 year ago

I'm trying to call this api Static Sites - Create Zip Deployment For Static Site Build, and building the request with the needed parameters it always gives me an error:

{
  "Code": "NotImplemented",
  "Message": "The requested method is not implemented.",
  "Target": null,
  "Details": [
    {
      "Message": "The requested method is not implemented."
    },
    {
      "Code": "NotImplemented"
    },
    {
      "ErrorEntity": {
        "ExtendedCode": "51009",
        "MessageTemplate": "The requested method is not implemented.",
        "Parameters": [],
        "Code": "NotImplemented",
        "Message": "The requested method is not implemented."
      }
    }
  ],
  "Innererror": null
}

This is the endpoint I'm calling:

With this json payload (is a static generated website, no need for api):

{
  "properties": {
    "appZipUrl": "https://*********.blob.core.windows.net/************_output.zip",
    "deploymentTitle": "Update index.html",
    "provider": "testProvider",
  }
}

The subscription ID, resource group name and static app name are correct, and the url for the zip exists and is accessible. Can this be related with something on my request payload?

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI.

Issue Details
I'm trying to call this api [Static Sites - Create Zip Deployment For Static Site Build](https://learn.microsoft.com/en-us/rest/api/appservice/static-sites/create-zip-deployment-for-static-site-build?tabs=HTTP#code-try-0), and building the request with the needed parameters it always gives me an error: ```json { "Code": "NotImplemented", "Message": "The requested method is not implemented.", "Target": null, "Details": [ { "Message": "The requested method is not implemented." }, { "Code": "NotImplemented" }, { "ErrorEntity": { "ExtendedCode": "51009", "MessageTemplate": "The requested method is not implemented.", "Parameters": [], "Code": "NotImplemented", "Message": "The requested method is not implemented." } } ], "Innererror": null } ``` This is the endpoint I'm calling: - https://management.azure.com/subscriptions/[**subscription-id-here**]/resourceGroups/TMC/providers/Microsoft.Web/staticSites/Test1/builds/preview/zipdeploy?api-version=2022-03-01 With this json payload (is a static generated website, no need for api): ```json { "properties": { "appZipUrl": "https://*********.blob.core.windows.net/************_output.zip", "deploymentTitle": "Update index.html", "provider": "testProvider", } } ``` The subscription ID, resource group name and static app name are correct, and the url for the zip exists and is accessible. Can this be related with something on my request payload?
Author: antunesl
Assignees: -
Labels: `question`, `App Services`, `Service Attention`, `customer-reported`, `Web Apps`, `needs-team-attention`
Milestone: -
ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI.

Issue Details
I'm trying to call this api [Static Sites - Create Zip Deployment For Static Site Build](https://learn.microsoft.com/en-us/rest/api/appservice/static-sites/create-zip-deployment-for-static-site-build?tabs=HTTP#code-try-0), and building the request with the needed parameters it always gives me an error: ```json { "Code": "NotImplemented", "Message": "The requested method is not implemented.", "Target": null, "Details": [ { "Message": "The requested method is not implemented." }, { "Code": "NotImplemented" }, { "ErrorEntity": { "ExtendedCode": "51009", "MessageTemplate": "The requested method is not implemented.", "Parameters": [], "Code": "NotImplemented", "Message": "The requested method is not implemented." } } ], "Innererror": null } ``` This is the endpoint I'm calling: - https://management.azure.com/subscriptions/[**subscription-id-here**]/resourceGroups/TMC/providers/Microsoft.Web/staticSites/Test1/builds/preview/zipdeploy?api-version=2022-03-01 With this json payload (is a static generated website, no need for api): ```json { "properties": { "appZipUrl": "https://*********.blob.core.windows.net/************_output.zip", "deploymentTitle": "Update index.html", "provider": "testProvider", } } ``` The subscription ID, resource group name and static app name are correct, and the url for the zip exists and is accessible. Can this be related with something on my request payload?
Author: antunesl
Assignees: -
Labels: `question`, `App Services`, `Service Attention`, `customer-reported`, `Web Apps`, `needs-team-attention`
Milestone: -
navba-MSFT commented 1 year ago

Adding Service team to look into this. @antcp, @azureappservicecli Could you please look into this once you get a chance ? Thanks in advance.

sopelt commented 1 year ago

I am wondering about this endpoint as well... any updates @navba-MSFT ? Is that something the app service team/resource provider team can look at?

antunesl commented 1 year ago

Any update on this? @navba-MSFT

Andy-d-g commented 1 year ago

Any update ?

avataryug-sidh commented 1 year ago

Hi Any update on this?