Failed deployment of Azure Machine Learning resource due to Bad Request - Request Too Long

Giulio Mattolin 0 Reputation points
2024-07-11T14:33:55.6266667+00:00

I'm trying to create a Azure Machine Learning resource on my resource group. I'm creating it with all the default settings but during the deployment it fails, with the Status: BadRequest and the Status message:

{
    "status": "Failed",
    "error": {
        "code": "BadRequest",
        "message": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\"http://www.w3.org/TR/html4/strict.dtd\">\r\n<HTML><HEAD><TITLE>Bad Request</TITLE>\r\n<META HTTP-EQUIV=\"Content-Type\" Content=\"text/html; charset=us-ascii\"></HEAD>\r\n<BODY><h2>Bad Request - Request Too Long</h2>\r\n<hr><p>HTTP Error 400. The size of the request headers is too long.</p>\r\n</BODY></HTML>\r\n"
    }
}

I've tried to delete the resources and create it again but the deployments still fails. I attach an image of the log of the operations done during the deployment. User's image

I've tried to search for similar questions about this error during deployment but I couldn't find any. I hope somebody can help me, thank you in advance!

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,961 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sufyan Ishaq 0 Reputation points
    2024-07-11T18:45:30.3533333+00:00

    Wow it was posted today. I have been getting the same error for hours now when I try to create and deploy a new function app resource. Something is probably down. Couldn't find anything on the web same as you. Probably will have to wait for it to get resolved.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.