@Divya Radhakrishnan it's tough to say without additional information. The 400 error you're getting regarding deployment history could be a result of the 409 deployment error. This conflict could be caused a CPU spike, an underlying storage capacity issue or something else.
Since this issue has just started a couple of days go, I would check the app service storage quota to see if there's enough available space. You can also change WEBSITE_RUN_FROM_PACKAGE
to 1 which tells the platform not to extract your zip but mount you zip as a folder for your app to run. If you need your app built by the platform, then this setting will not work for you.
If you've already tried these steps or been down this path, then you'll need to provide some additional details:
- Are you deploying your zip through the CLI, drag and drop on Kudu, through VS Code?
- Did scaling your app service plan up resolve the issue?
- Do you see any file names in D:\home\site\locks?
- Anything in D:\home\site\deployments?