Some batch operations in Drupal, such as Solr search re-indexing or database updates may result in in an HTTP Error Code 406. A typical error looks like this:
An AJAX HTTP error occurred.
HTTP Result Code: 406
Debugging information follows.
Path: https://www.example.com/batch?id=12345&op=do_nojs&op=do
StatusText: Not Acceptable
ResponseText:
{"message":"Not acceptable format: json"}
If you have Acquia Cloud Edge powered by CloudFlare (or a standalone Cloudflare account), try adding the following page rule to your Cloudflare configuration:
- Set the URL to match the following, replacing your domain:
*example.com/batch*
- Then add the following settings:
- Cache Level: Bypass
- Query String Sort: Off
- Set this as the first rule that applies, so that something that applies more generally doesn't apply to it first.
If that does not resolve your issue, please contact Acquia Support to see if we can help further.