Skip to content

Error during inviting user #331

Description

@Warwolfer

Describe the Bug

Invite a user by inputting email
Checking the logs gives me

[12:37:12.886] ERROR: Cannot read properties of undefined (reading 'email')
    err: {
      "type": "TypeError",
      "message": "Cannot read properties of undefined (reading 'email')",
      "stack":
          TypeError: Cannot read properties of undefined (reading 'email')
              at UsersService.inviteUser (file:///directus/node_modules/.pnpm/@wbce-d9+api@file+api/node_modules/@wbce-d9/api/dist/services/users.js:310:30)
              at async file:///directus/node_modules/.pnpm/@wbce-d9+api@file+api/node_modules/@wbce-d9/api/dist/controllers/users.js:216:5
    }

To Reproduce

Invite a user by inputting email

Directus Version

12.0.7

Hosting Strategy

Self-Hosted (Docker Image)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions