makeplane / makeplane/plane

Invitation Creation Always Errors — WorkspaceMember.filter().role Returns QuerySet Not Int

Open
#9,167 2 comments 0 reactions 2 assignees View on GitHub

@vihar is already working on this.

Since May 30, 2026.

🐛bug plane
Dominant language
TypeScript
Stars
59.6k
Forks
5.8k
Avg merge
1d 22h
Merged PRs (30d)
49

Description

Is there an existing issue for this?
  • I have searched the existing issues
Current behavior

AttributeError: 'QuerySet' object has no attribute 'role'.

File: apps/api/plane/app/views/project/invite.py, lines 60–64

Steps to reproduce
  1. Open any project
  2. Go to Settings → Members
  3. Attempt to invite any user by email
  4. See 500 error before invitation created
Environment

Production

Browser

None

Variant

Cloud

Version

v0.17.0-dev

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.