What Causes the 406Error? Everytime you open a web page, your browser (like Safari, Firefox, Brave, Chrome, or Internet Explorer) sends a request to the page’s server to obtain site content and database files. Whether you’re managing awebsite, using a web application, or just browsing, this error can disrupt your workflow. In this guide, we’ll explain the HTTP 406error, why it happens, and most importantly, how to fix it quickly. Error406 (Not Acceptable) meaning in HTTP response code. Read about the impact on site ranking, common issues, and how to fix them. The 406error code (HTTP 406 Not Acceptable) means the server cannot produce a response in any of the formats specified by the client's Accept header. It is triggered by a content negotiation mismatch: the client asks for a format the server does not support. If a server returnsa406, the body of the message should contain the list of available representations for the resource, allowing the user to choose, although no standard way for this is defined. When accesing the file in browser using the direct link, the json is returned just fine. But when using the same approach in my python code below, the http response is 406. Any ideas why?This error means the value of Accept header does not match Content-Type of the response. Failed to load resource: the server responded with a status of 406 (Not Acceptable). I have the {% framework extras %} and {% scripts %} added to the page and jQuery is loaded. I tried to do the same with the demo theme and it didn't work either - same error.