Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I am using the Devops release pipeline to deploy new releases to my function apps.

However a few days ago, the release pipeline stopped working and I continue to receive the following error message on deployments:

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

After digging in the kudu stack trace, I find the following:

Error occurred, type: error, text: No space left on device

However, when I look at my quota usage on the app service plan that hosts my function apps, I have not even exceeded 1% of my quota. I am on a basic app service plan that provides 10gb of storage and my function apps combined have used 50mib.

I am reaching out to see if anyone else has/is currently experiencing this issue and what they did to resolve it.

Many Thanks!

Adam

like image 334
user3918443 Avatar asked Oct 24 '25 14:10

user3918443


1 Answers

Some advice for trouble shooting:

  1. You can use the Kudu service to see the size of all the files on the Azure. This way you can further check your storage. Go to Azure portal -> Your_APP_Service -> development tool -> advanced tool to access Kudu service and download the extension. You can click this blog for detailed information.

enter image description here

  1. The issue may be that your source code and output are too large. In this case, try using a self-hosted agent and clear the cache.

  2. The reason for the issue may also be that the packages uploaded at one time are too large, which leads to the shortage of temporary files. Click on the link to see if you have exceeded the temporary file limit.

like image 149
Jane Ma-MSFT Avatar answered Oct 27 '25 05:10

Jane Ma-MSFT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!