How to Fix 406 Error Not Acceptable

Home » Knowledge Base » Hosting Basics » How to Fix 406 Error Not Acceptable

Server and client errors can appear quite often on your website. dealing with such issues is a part of the journey to a successful website project, and understanding more about such errors can help you fix them quickly and efficiently, so your site functions properly, your site visitors are satisfied and search engines rank your pages higher in search results.

One such client-side error is 406 Not Acceptable. It is a very specific type of error that requires specific approaches to fixing it. This is why, in the following paragraphs, you will read about what 406 Error Not Acceptable, what causes it, and what you can do to fix it right away.

 

What is 406 Error Not Acceptable

 

406 Error is one of the client-side HTTPS status codes and indicates that the client has requested data from the web server via an Accept header that the server is unable to process.

This issue derives from the fact that the web server may not process the request sent via the Internet browser, because of the wrong header format.

When such a situation occurs, the Internet browser displays the 406 error message. 406 Error is a part of the 4xx error messages, indicating an issue on the client side in the communication between a server. Similar 4xx errors include:

There are various reasons that can prompt HTTP Error 406. Some of these are:

  • Improper file size. Some web servers are set to allow a very specific file size as a security measure. If this size requirement isn’t met, then 406 Error is displayed.
  • Encoding limitations. A 406 error code can be displayed on the occasion a certain encoding method isn’t accepted by the requested server.
  • Location limitations. In certain situations, the requested resource might be available exclusively for a certain geographic area. In this situation, a client that requests this information outside the permitted zone will receive an Error 406 message.
  • MIME type violation. Should the Internet browser request a MIME type that the server can’t provide, an Error 406 message will be displayed.

 

How to Fix 406 Error Not Acceptable

There are six methods that can get the issue fixed:

 

Method 1: Check the Requested URL

Sometimes the display of 406 Error is caused by inputting an incorrect URL. Carefully check the address for any mistakes such as mistyped, adding, or missed symbols, and try reloading the requested page. If this doesn’t fix the issue, proceed with the next method.

 

Method 2: Roll Back Recent Updates

If 406 Error appears after recent website updates, then these changes might well be at the root of the problem. Roll back to an older version of your website and try to load the requested page once again. Should you be using a CMS such as WordPress for crafting your website, consider downgrading the core application.

 

Method 3: Check for Faulty Site Extensions/Add-Ons/Plugins

If your website is based on a CMS and various extensions are installed, the problem might be rooted in one of them.

To see whether this is the case, deactivate all of the extensions/add-ons/plugins and see whether you can access the requested resource. If you are able to do so, then the issue lies within one of the deactivated extensions/add-ons/plugins. To find out which one exactly, follow these steps:

  1. Activate one extension/add-on/plugin, open the website, and see whether it prompts the error message.
  2. If 406 Error doesn’t appear, deactivate the extension/add-on/plugin, and activate the next in the list.
  3. Repeat the procedure until you stumble upon the extension/add-on/plugin that causes the problem.
  4. Once you know which extension/add-on/plugin causes the problem, delete it or contact developers for further assistance.

 

Method 4: Check for Unwanted Database Changes

In case you are using a CMS and installing various extensions/add-ons/plugins, keep in mind that many of them can freely access your website’s database.

Such is the case with the WordPress plugins – sometimes these modules can interfere with various site settings and prompt HTTP status codes such as 406 Error.

If this is the case with your website, the most effective way of fixing the problem is by manually looking through the database tables and checking for any unexpected and unwanted changes. If you see such, fix them, or revert to an older version of your website database.

 

Method 5: Check the Internet Browser Settings

Sometimes a specific set of browser settings can cause the display of 406 Error.

There are many websites that require cookies and JavaScript functionalities to be enabled in order to provide the requested resources. Check the settings of your preferred web browser and make sure that these features are enabled.

 

Method 6: Clear Browser Cache and Cookies

Sometimes too many cache and cookie files can cause performance issues and make your browser display error messages such as HTTP Error 406.

Clear your browser cache and cookies and try reloading the requested web page. If you are not sure how to proceed, then have a look at our simple guide: How to Clear Web Browser Cache

 

Conclusion

406 Error indicates that there are issues with processing the requested data format from the server. In such situations, the server can’t send back any data, as the formatting requirements aren’t present. In this article, we suggested 6 methods that can help you fix 406 Error.

Was this post helpful?

i

Relevant tags:

Connect

Latest posts:

How to Find Modules in MediaWiki

After you install MediaWiki, log in to the CMS, and presumably install extensions, it is time to learn how to find modules in MediaWiki.   What are MediaWiki Modules Modules in MediaWiki are Lua-based scripts that allow you to add various functionalities to your...

How to Fix MediaWiki Internal Error: A Step-By-Step Guide

MediaWiki Internal Error message can be very frustrating and can significantly harm your MediaWiki project. Luckily, the issue can be fixed in a few easy-to-follow steps to get your website up and running in no time. There are various causes for the issue: Incorrect...

How to Add Infobox Module in MediaWiki

The Infobox in MediaWiki is a handy tool for presenting content and key information in a structured and visually pleasing way. Infoboxes are useful for any kind of MediaWiki project and can provide your readers with a quick snapshot of important data and details. In...

How to Install a MediaWiki Skin

In MediaWiki, skins determine the visual appearance of your wiki website. Skins define how content is presented to users and include such settings for the overall website layout, typography, color scheme, and more. By default, when you install MediaWiki, the platform...

How to Create a Page in MediaWiki

Creating pages in MediaWiki is а core feature that allows you to add content to your MediaWiki website. Whether you are adding details for a project, contributing to a knowledge base, or anything else, learning how to create a page in MediaWiki is crucial for your...



Create a website for free!


Free forever

Our Support Team is Here to Help

 

If you need any questions answered, don't hesitate and contact us. Click the button below and follow the instructions. You can expect an answer within an hour.

 

Contact AwardSpace

 

iNewest knowledge base articles

How to Find Modules in MediaWiki

After you install MediaWiki, log in to the CMS, and presumably install extensions, it is time to learn how to find modules in MediaWiki.   What are MediaWiki Modules Modules in MediaWiki are Lua-based scripts that allow you to add various functionalities to your...

How to Fix MediaWiki Internal Error: A Step-By-Step Guide

MediaWiki Internal Error message can be very frustrating and can significantly harm your MediaWiki project. Luckily, the issue can be fixed in a few easy-to-follow steps to get your website up and running in no time. There are various causes for the issue: Incorrect...

How to Add Infobox Module in MediaWiki

The Infobox in MediaWiki is a handy tool for presenting content and key information in a structured and visually pleasing way. Infoboxes are useful for any kind of MediaWiki project and can provide your readers with a quick snapshot of important data and details. In...

How to Install a MediaWiki Skin

In MediaWiki, skins determine the visual appearance of your wiki website. Skins define how content is presented to users and include such settings for the overall website layout, typography, color scheme, and more. By default, when you install MediaWiki, the platform...

How to Create a Page in MediaWiki

Creating pages in MediaWiki is а core feature that allows you to add content to your MediaWiki website. Whether you are adding details for a project, contributing to a knowledge base, or anything else, learning how to create a page in MediaWiki is crucial for your...

How to Install MediaWiki Extensions

Now that you have installed MediaWiki and learned how to log in to the CMS, it is time to extend MediaWiki's functionality via extensions. MediaWiki extensions are sets of files that add various types of functionality to your MediaWiki website. You can use extensions...

Even more web tutorials

Check out our web hosting knowledge base and the WordPress tutorials to learn more, and be better prepared for your website creation and maintenance journey.