Drupal.AjaxError /views/ajax?ajax_form=1&_wrapper_format=drupal_ajax

Created on 30 October 2018, about 6 years ago
Updated 12 February 2023, almost 2 years ago

So this is what I do

1. I create a views block which have filter function with ajax
2. I placed that views block in a node template by using views reference module
3. I put a webform in that views block template by using twig tweak
4. That webform use ajax for submission

The webform ajax can run after the page is load. But once I filter the views, that webform submission returning this error:

Drupal.AjaxError {message: "↵An AJAX HTTP error occurred.↵HTTP Result Code: 40…tatusText: Not Found↵ResponseText: {"message":""}", name: "AjaxError"}

Any idea how to fix this ?

🐛 Bug report
Status

Closed: works as designed

Version

9.5

Component
Ajax 

Last updated 1 day ago

Created by

🇲🇾Malaysia alanyong

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇿New Zealand quietone

    As pointed out in #5 this needs steps to reproduce with just Drupal core. Since that hasn't been supplied in 10 months, I am closing this issue.

Production build 0.71.5 2024