Home > other >  Elementor Form : "An error occurred" when i use a custom webhook url
Elementor Form : "An error occurred" when i use a custom webhook url

Time:07-05

I get a message An error occurred. from elementor form when i submit my elementor form. I configured the Actions after submit with a webhook to a custom url. I don't know if the problem is my hook function not responding as it should.

Configuration : After Form Submit

Configuration : WebHook

The error message after the submition

I should point out that when I remove the webhook from the Actions after submit list, I no longer get this error.

CodePudding user response:

I understood the problem

My custom url was not responding correctly, I added return json_encode(array("success"=>true)); to the end of the callback function and that solved the problem.

  • Related