A couple of weeks ago I used Oddo for an event registration. Everything worked perfectly.
Today i created a new event and unfortunately when I click the "Register" button in the event's page I get the error:
Traceback (most recent call last): File "/odoo/odoo-server/odoo/addons/base/models/ir_http.py", line 229, in _dispatch result = request.dispatch() File "/odoo/odoo-server/odoo/http.py", line 809, in dispatch r = self._call_function(**self.params) File "/odoo/odoo-server/odoo/http.py", line 318, in _call_function raise werkzeug.exceptions.BadRequest(msg % params) werkzeug.exceptions.BadRequest: 400 Bad Request: <function WebsiteEventController.registration_new at 0x7f2be6b75d08>, /event/i-2020-07-31-5/registration/new: Function declared as capable of handling request of type 'json' but called with a request of type 'http'
Could you please help me on that?