The HTTP 406 Not Acceptable error occurs when the server cannot provide a response that matches the formats specified in your request headers. This typically involves headers related to content types or language preferences. The server response may include available resource representations for selection.
The server cannot produce a response that matches the media types specified in the `Accept` header of the HTTP request.
The server is unable to provide a response that conforms to the character sets defined in the `Accept-Charset` header of the request.
The server does not support any of the content encodings listed in the `Accept-Encoding` header of the request.
The server cannot generate a response that adheres to the language preferences specified in the `Accept-Language` header of the request.
# Request example curl -X PUT https://sandbox.oxylabs.io/ -H 'Accept: application/xhtml+xml' -H 'Accept-Encoding: compress' -H 'User-Agent: Chrome/91.0.4472.124'
Try Scraper API with 5K results
Check the permissions set for your user account and ensure you have the necessary rights to access the resource.
Review the application's access control settings and modify them if your user role should have access.
Contact the system administrator to verify that your user role is correctly configured and request access if needed.
Ensure the URL is correct and that the resource is intended to be accessible for your user role.
# Response example HTTP/1.1 406 Not Acceptable Content-Type: text/html406 Not Acceptable Not Acceptable
The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request.
Web scraper API
Public data delivery from a majority of websites
From
49