Azure App Service Containers Max URL Length

Nicholas Romano 1 Reputation point
2021-01-08T00:44:22.4+00:00

I'm running into an issue with a container I am running via an Azure App Service. Everything works great except for the Service I am running allows very large queries via GET requests. I'm getting the 404.14 Error, URL Exceeds max length. Is there any way to increase the max length of URLs, or am I SOL? Thanks

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
508 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 15,256 Reputation points MVP Volunteer Moderator
    2021-01-08T02:05:47.883+00:00

    @Nicholas Romano
    If you are using the GET method, you are limited to a maximum of 2,048 characters, minus the number of characters in the actual path, So i would suggest you to check the path length and your URL length. The Maximum length of URL is limited by the different browsers.

    You can check this thread explaining the length issues for URL for different browser:

    What is the maximum length of a URL in different browsers?

    Maximum request URL size 4096 bytes, Applies to the Consumption tier only. Includes an up to 2048 bytes long query string

    ----------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.
    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.