Azure / Azure/app-service-linux-docs

Creating WebJob Fails with Bad Request Error

Open
#234 19 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
150
Forks
90
Avg merge
2m
Merged PRs (30d)
1

Description

When creating a web job in a Linux Web App, an error is returned that simply says Failed with a description of Bad Request.

Here are the settings I'm establishing for the WebJob, but note that the error returns regardless of the type of file being loaded (.zip or .sh) or the schedule being specified.

![image](https://github.com/Azure/app-service-linux-docs/assets/28511696/38813919-f740-4754-84c6-114779401921)

Here is the message returned.

![image](https://github.com/Azure/app-service-linux-docs/assets/28511696/c2d31151-0837-4d3b-8e9b-be3f4d52463f)

Here is the .sh script I'm attempted to add as a job. The filename is run.sh, but I've tried a variety of file names with no success.

![image](https://github.com/Azure/app-service-linux-docs/assets/28511696/e4420edf-27a9-4d26-b6c7-b4273acab9d4)

I've also attempted this in Firefox, Chrome, and Edge on both a Windows and a Mac.

In speaking with Azure support, this is a known issue but is not yet publicly documented. They recommended I create an issue here for tracking on a resolution. Any updates you can provide on a resolution would be greatly appreciated. I know WebJobs in Web Apps for Linux are in preview, but unfortunately my code stack doesn't have a Windows Web App option available.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.