Issues with API action and NodeJS

OS info

  • Operating System : Mac OSX 18.7.0
  • Wappler Version : 3.0.0-beta.3

Problem description

api action in server connect connects fine and gets the schema ok. When you connect to the server connect on the page it gives “Mandatory grant_type form parameter missing” . This is with node.js. same exact process works fine with php model. grant_type is definitely in the form and again, gets the schema fine.

Steps to reproduce

  1. create a server action
  2. add an api action in steps
  3. add a server connect to the page.

getting this if it helps. Just upgraded to 3.0 beta 4.

{
“message”: “settings is not defined”,
“stack”: “ReferenceError: settings is not defined\n at App.define (/opt/node_app/lib/core/app.js:143:35)\n at /opt/node_app/lib/core/middleware.js:12:40\n at Layer.handle [as handle_request] (/opt/node_app/node_modules/express/lib/router/layer.js:95:5)\n at next (/opt/node_app/node_modules/express/lib/router/route.js:137:13)\n at next (/opt/node_app/node_modules/express/lib/router/route.js:131:14)\n at next (/opt/node_app/node_modules/express/lib/router/route.js:131:14)\n at next (/opt/node_app/node_modules/express/lib/router/route.js:131:14)\n at next (/opt/node_app/node_modules/express/lib/router/route.js:131:14)\n at next (/opt/node_app/node_modules/express/lib/router/route.js:131:14)\n at next (/opt/node_app/node_modules/express/lib/router/route.js:131:14)”
}

This problem has already been fixed