question

odsbyz-2167 avatar image
0 Votes"
odsbyz-2167 asked bhargaviannadevara-msft edited

I am unable to deploy a PHP webpackage using the pipeline.from Azure Repos. I get Error 400.

I have a Web app on Linux. I am unable to redeploy my web package through Pipeline using Azure repos. I keep getting the following error 400 ( please see the screen shot below).

Deploy Azure Web App : hatchleaf

View raw log

Starting: Deploy Azure Web App : hatchleaf


Task : Azure Web App
Description : Deploy an Azure Web App for Linux or Windows
Version : 1.184.3
Author : Microsoft Corporation
Help : https://aka.ms/azurewebapptroubleshooting
==============================================================================
Got service connection details for Azure App Service:'hatchleaf'
Package deployment using ZIP Deploy initiated.

[error]Failed to deploy web package to App Service.

[error]To debug further please check Kudu stack trace URL : https://$hatchleaf:***@hatchleaf.scm.azurewebsites.net/api/vfs/LogFiles/kudu/trace

[error]Error: Error: Failed to deploy web package to App Service. Bad Request (CODE: 400)

Successfully updated deployment History at https://hatchleaf.scm.azurewebsites.net/api/deployments/461616100476274
App Service Application URL: http://hatchleaf.azurewebsites.net
Finishing: Deploy Azure Web App : hatchleaf

azure-webappsnot-supported-azure
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

kobulloc-MSFT avatar image
0 Votes"
kobulloc-MSFT answered kobulloc-MSFT edited

Thank you for reaching out! Since it looks like you are running into an issue with Azure Repos, we want to make sure that you are getting the best answer possible. Azure DevOps and its services are not supported in Microsoft Q&A because the Azure DevOps team and DevOps community are actively answering questions here:

https://developercommunity.visualstudio.com/spaces/21/index.html


Related answers:
https://github.com/microsoft/azure-pipelines-tasks/issues/8657
https://stackoverflow.com/questions/65098456/error-error-failed-to-deploy-web-package-to-app-service-bad-request-code-40

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.