System Information
- Strapi Version: 4.3.4
- Operating System: Ubuntu 20.04.4 LTS
- Database: Postgres
- Node Version: 16.15.1
- NPM Version: 8.11.0
- Yarn Version:
I’m trying to register a User in a custom controller. The controller is running and its trying to work, but I’m getting error: ValidationError: Invalid registration info when I try to do this…
const user = await strapi.service('admin::user').register({
username: request.body.data.handle,
email: request.body.data.email,
password: request.body.data.password
});
Here is a clip of the error in console…
Am I doing this correctly and am just missing attribs? Or should I be doing this differently?
Thank you for sharing your expertise