{"id":241,"date":"2011-09-19T19:24:29","date_gmt":"2011-09-19T19:24:29","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2011\/09\/19\/406-error\/"},"modified":"2023-09-15T14:52:56","modified_gmt":"2023-09-15T18:52:56","slug":"406-not-acceptable","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/","title":{"rendered":"406 Not Acceptable Error"},"content":{"rendered":"<p>There are many errors that you may see as you visit different websites across the web. One of the more common ones is 406 Not Acceptable. <strong>HTTP error code 406<\/strong>, also known as \u201c<strong>Not Acceptable<\/strong>,\u201d is a client error response code that indicates that the server cannot produce a response matching the list of acceptable values defined in the request\u2019s headers. This error typically occurs when the server cannot provide content that satisfies the criteria specified by the client in the Accept header.<\/p>\n\n\n\n<p>This article explains what HTTP error code 406 is, what causes it, and how to correct it if it happens on your site.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">What is HTTP Error Code 406?<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"902\" height=\"263\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error.png\" class=\"optimized-lcp-image\" alt=\"406 error - Not acceptable\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error.png 902w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error-300x87.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error-768x224.png 768w\"><\/figure>\n\n\n\n<p>Web browsers make a request for information from the server. When this happens, it sends an <em>Accept header<\/em>. This tells the server in what formats the browser can accept the data. If the server cannot send data in a format requested in the Accept header, the server sends the <em>406 Not Acceptable<\/em> error.<\/p>\n\n\n\n<p>The error can also be generated by the mod_security module. <a href=\"\/support\/security\/what-is-modsecurity-and-why-is-it-important\/\"><code>mod_security<\/code><\/a>, a type of firewall program that runs on Apache web server, scans for violations of the rules it has set. If an action occurs that violates one of these rules, the server will throw a 406 error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Caused The 406 Error on my Site?<\/h2>\n\n\n\n<p>In regards to a site on your hosting account, the cause of the 406 error is usually due to a mod_security rule on the server. <a href=\"\/support\/security\/what-is-modsecurity-and-why-is-it-important\/\"><code>mod_security<\/code><\/a> is a security module in the Apache web server that is enabled by default on all hosting accounts. If a site, page, or function violates one of these rules, server may send the <em>406 Not Acceptable<\/em> error.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to Fix the 406 Not Acceptable Error<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Review the Error Message<\/h3>\n\n\n\n<p>When you encounter an HTTP error code 406, the server usually includes a response message with more information about the error. Start by reading this message to understand the specific issue.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Check the Request Headers<\/h3>\n\n\n\n<p>The HTTP 406 error is related to the <code>Accept<\/code> header in the client\u2019s request. This header specifies the media types (content types) that the client can accept as a response. The server checks this header to determine if it can provide content that matches the client\u2019s preferences. Ensure that the <code>Accept<\/code> header is correctly set in your request.<\/p>\n\n\n\n<p>Example <code>Accept<\/code> header for accepting JSON:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"Accept: application\/json\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">Accept<\/span><span style=\"color: #E1E4E8\">: application<\/span><span style=\"color: #F97583\">\/<\/span><span style=\"color: #E1E4E8\">json<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Example <code>Accept<\/code> header for accepting both JSON and XML:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"Accept: application\/json, application\/xml\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">Accept<\/span><span style=\"color: #E1E4E8\">: application<\/span><span style=\"color: #F97583\">\/<\/span><span style=\"color: #E1E4E8\">json, application<\/span><span style=\"color: #F97583\">\/<\/span><span style=\"color: #E1E4E8\">xml<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Verify Content Negotiation<\/h3>\n\n\n\n<p>Content negotiation is the process where the server selects the appropriate response format based on the client\u2019s preferences. If you\u2019re encountering a 406 error, it\u2019s possible that the server cannot produce content in the requested format. Check if the server supports the media types specified in your <code>Accept<\/code> header.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Use Wildcards or More Generic Types<\/h3>\n\n\n\n<p>If the server supports multiple media types, but you\u2019re still getting a 406 error, you can use wildcards or more generic types in the <code>Accept<\/code> header. For example, you can use <code>*\/*<\/code> to indicate that you accept any media type:<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:1.25rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.625rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"Accept: *\/*\" style=\"color:#e1e4e8;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki github-dark\" style=\"background-color: #24292e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #B392F0\">Accept<\/span><span style=\"color: #E1E4E8\">: <\/span><span style=\"color: #F97583\">*<\/span><span style=\"color: #6A737D\">\/*<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Check the Server Configuration<\/h3>\n\n\n\n<p>Ensure that the server is properly configured to handle content negotiation and can produce responses in the requested formats. Sometimes, server misconfigurations can lead to 406 errors.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Test Different Accept Headers<\/h3>\n\n\n\n<p>Experiment with different <code>Accept<\/code> header values in your request to see if the server can provide content in any of the specified formats. This can help you identify which specific media type is causing the issue.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Contact the Server Administrator or API Provider<\/h3>\n\n\n\n<p>If you\u2019ve exhausted all troubleshooting options and still encounter the HTTP 406 error, it may be a server-side issue. Contact the administrator of the server or the API provider and provide them with the details of your request and the error message you received. They may be able to assist in resolving the problem.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Consider Handling 406 Errors Gracefully<\/h3>\n\n\n\n<p>If you\u2019re developing a client application, it\u2019s essential to handle 406 errors gracefully. You can create error-handling routines that notify users or log the error details for further investigation.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to Prevent 406 Errors<\/h2>\n\n\n\n<p>To prevent 406 errors, you can turn off <code>mod_security<\/code> on your server. There are a few ways to do this:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/security\/find-and-disable-specific-modsecurity-rules\/\">Disable specific ModSecurity rules<\/a> using SSH.<\/li>\n\n\n\n<li><a href=\"\/support\/domain-names\/disable-modsecurity-for-a-domain\/\">Disable ModSecurity for a domain<\/a> using SSH.<\/li>\n\n\n\n<li>Disable <code>mod_security<\/code> using the Modsec Manager plugin in cPanel.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"105\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_click-modsec-manager.png\" alt=\"Modsec Manager in cPanel\" class=\"wp-image-5193\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_click-modsec-manager.png 500w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_click-modsec-manager-300x63.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p><strong>Note!<\/strong> You may not have the option to enable or disable <code>mod_security<\/code> in your cPanel on VPS or Dedicated Servers. To disable <code>mod_security<\/code> on accounts that don\u2019t have the option in cPanel, you will need to use command line via SSH or contact <a title=\"Click here for how to contact support\" href=\"\/support\/amp\/how-to-get-great-technical-support\/\">tech support<\/a> to disable\/enable it for you.<\/p>\n\n\n\n<p>Alternatively, if you only need certain select rules disabled instead of having it turned off for an entire domain, you can use the <a href=\"https:\/\/www.inmotionhosting.com\/support\/amp\/submitting-and-checking-on-status-of-tickets\/\">ticket portal<\/a> in AMP to submit a ticket.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are many errors that you may see as you visit different websites across the web. One of the more common ones is 406 Not Acceptable. HTTP error code 406, also known as &#8220;Not Acceptable,&#8221; is a client error response code that indicates that the server cannot produce a response matching the list of acceptable<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/\"> Read More ><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4335],"tags":[],"class_list":["post-241","post","type-post","status-publish","format-standard","hentry","category-error-numbers"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>406 Not Acceptable: HTTP Error Code and How to Fix It<\/title>\n<meta name=\"description\" content=\"This article explains what HTTP error code 406 is, what causes it, and how to correct it if it happens on your site.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"406 Not Acceptable: HTTP Error Code and How to Fix It\" \/>\n<meta property=\"og:description\" content=\"This article explains what HTTP error code 406 is, what causes it, and how to correct it if it happens on your site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2011-09-19T19:24:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-15T18:52:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error.png\" \/>\n<meta name=\"author\" content=\"Brad Markle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brad Markle\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/\"},\"author\":{\"name\":\"Brad Markle\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\"},\"headline\":\"406 Not Acceptable Error\",\"datePublished\":\"2011-09-19T19:24:29+00:00\",\"dateModified\":\"2023-09-15T18:52:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/\"},\"wordCount\":779,\"commentCount\":35,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error.png\",\"articleSection\":[\"Website Error Numbers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/\",\"name\":\"406 Not Acceptable: HTTP Error Code and How to Fix It\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error.png\",\"datePublished\":\"2011-09-19T19:24:29+00:00\",\"dateModified\":\"2023-09-15T18:52:56+00:00\",\"description\":\"This article explains what HTTP error code 406 is, what causes it, and how to correct it if it happens on your site.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error.png\",\"width\":902,\"height\":263,\"caption\":\"Click here to view the larger image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"406 Not Acceptable Error\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\",\"name\":\"Brad Markle\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"406 Not Acceptable: HTTP Error Code and How to Fix It","description":"This article explains what HTTP error code 406 is, what causes it, and how to correct it if it happens on your site.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/","og_locale":"en_US","og_type":"article","og_title":"406 Not Acceptable: HTTP Error Code and How to Fix It","og_description":"This article explains what HTTP error code 406 is, what causes it, and how to correct it if it happens on your site.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2011-09-19T19:24:29+00:00","article_modified_time":"2023-09-15T18:52:56+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error.png","type":"","width":"","height":""}],"author":"Brad Markle","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Brad Markle","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/"},"author":{"name":"Brad Markle","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf"},"headline":"406 Not Acceptable Error","datePublished":"2011-09-19T19:24:29+00:00","dateModified":"2023-09-15T18:52:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/"},"wordCount":779,"commentCount":35,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error.png","articleSection":["Website Error Numbers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/","name":"406 Not Acceptable: HTTP Error Code and How to Fix It","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error.png","datePublished":"2011-09-19T19:24:29+00:00","dateModified":"2023-09-15T18:52:56+00:00","description":"This article explains what HTTP error code 406 is, what causes it, and how to correct it if it happens on your site.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/09\/website_website-troubleshooting_error-message_406-error.png","width":902,"height":263,"caption":"Click here to view the larger image"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/406-not-acceptable\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"406 Not Acceptable Error"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf","name":"Brad Markle","url":"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4335,"name":"Website Error Numbers","slug":"error-numbers","link":"https:\/\/www.inmotionhosting.com\/support\/website\/error-numbers\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=241"}],"version-history":[{"count":10,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/241\/revisions"}],"predecessor-version":[{"id":106748,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/241\/revisions\/106748"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}