Hi N8N Team,
In my usecase i already have a superuser, now I need to create another owner account.
when I try to create using this API( http://localhost:5678/rest/owner), it was giving error like
below in postmon.
Payload:
{ “email”:“test”,
“firstName”:“test”,
“lastName”:“test”,
“password”: “test”}
ERROR MESSAGE:
{
“code”: 0,
“message”: “Invalid request”,
“hint”: “”,
“stack”: “ResponseError: Invalid request\n at C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\packages\cli\src\UserManagement\routes\owner.ts:33:11\n at C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\packages\cli\src\ResponseHelper.ts:153:23\n at Layer.handle [as handle_request] (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\layer.js:95:5)\n at next (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\route.js:144:13)\n at Route.dispatch (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\route.js:114:3)\n at Layer.handle [as handle_request] (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\layer.js:95:5)\n at C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\index.js:284:15\n at Function.process_params (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\index.js:346:12)\n at next (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\index.js:280:10)\n at C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\packages\cli\src\UserManagement\routes\index.ts:137:3\n at Layer.handle [as handle_request] (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\layer.js:95:5)\n at trim_prefix (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\index.js:328:13)\n at C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\index.js:286:9\n at Function.process_params (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\index.js:346:12)\n at next (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\index.js:280:10)\n at C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\packages\cli\src\UserManagement\routes\index.ts:100:4\n at Layer.handle [as handle_request] (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\layer.js:95:5)\n at trim_prefix (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\index.js:328:13)\n at C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\index.js:286:9\n at Function.process_params (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\index.js:346:12)\n at next (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\express\lib\router\index.js:280:10)\n at complete (C:\Users\PraveenBabu\Desktop\radium1.1\RADIUM\n8n\node_modules\passport\lib\middleware\authenticate.js:271:13)”
}
so kindly let me know how to create two owner account in N8N?