Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] TypeError [InvalidType]: Supplied parameter is not a User nor a Role #518

Closed
1 task done
eartharoid opened this issue Jan 15, 2024 · 0 comments
Closed
1 task done
Labels
bug Something isn't working triage Needs triage

Comments

@eartharoid
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Unexpected error when creating a ticket if a staff role has been deleted

Expected Behavior

Catch this error and give a useful message with steps to resolve

Steps To Reproduce

  1. Create a category
  2. Delete one of its staff roles
  3. Create a ticket

Environment

- OS:
- Node:
- NPM:
- Bot: 4.0.13

Anything else?

This is the most common unexpected error

@eartharoid eartharoid added bug Something isn't working triage Needs triage labels Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs triage
Projects
None yet
Development

No branches or pull requests

1 participant