Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WebJob deployment fails with CODE:414

See original GitHub issue

I’m using webapps-deploy@v2 action to deploy .net core web job build artifact into Azure app service. But it’s giving below error everytime.

Run azure/webapps-deploy@v2
    app-name: web-app-test-eu-xxxxxxxxxxxxx-001
    package: .
    publish-profile: ***
    slot-name: production
    AZURE_WEBAPP_NAME: web-app-test-eu-levomethanol-001
    DOTNET_VERSION: 3.1.100
    BINARIES: ./app_data/jobs/continuous/XX.Integration.xxxxxxxx.WebJobs
    JAVA_HOME_11.0.14_x64: C:\hostedtoolcache\windows\jdk\11.0.14\x64
    JAVA_HOME: C:\hostedtoolcache\windows\jdk\11.0.14\x64
    JAVA_HOME_11_0_14_X64: C:\hostedtoolcache\windows\jdk\11.0.14\x64
    DOTNET_ROOT: C:\Users\runneradmin\AppData\Local\Microsoft\dotnet

Package deployment using ZIP Deploy initiated.
Error: Failed to deploy web package to App Service.
Error: Deployment Failed with Error: Error: Failed to deploy web package to App Service.
Request-URI Too Long (CODE: 414)
App Service Application URL:

I guess that it’s due to the length of the app service name. Since the same workflow works well with other app services which have 1 character less in the name For e.g below app services gets deployed successfully with same workflow.

The error doesn’t point the exact root cause so it’s kind of very generic. Any pointer to fix ?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

JasonFreebergcommented, May 3, 2022

Possibly related to #192 – the action is sending the commit message in the deployment request. If the commit message is too long, then the deployment request fails.

PR from community:

kumaraksh1commented, Nov 30, 2022

Closing this issue, we have merged the fix of this issue and it will be released by 1st week of december.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure WebJob deployment keeps failing - Stack Overflow
Since yesterday I'm suddenly having consistent deployment failures for my existing WebJobs. The error I'm getting is
Read more >
Fix for: "WebJob cannot be added from portal if deployment ...
I use Git as a deployment method so I assume that is the source control deployment they are mentioning. This is an error...
Read more >
WebJob deployment failing when deploying using CI/CD.
I am getting below error which deploying Web job using Azure Web App Deploy Task. [02/09/2021 16:37:17 > 5fdf88: SYS INFO] Status changed...
Read more >
Azure Webjobs not getting updated after new publish #1418
I am facing the same issue with our web job deployments. The weird thing is it execute old code sometime and new code...
Read more >
startup-command parameter is ignored about webapps-deploy
We're using this GitHub action to deploy an app to Azure App Services. The workflows seems to works (and ... Am I missing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found