GraphQL Validation Errors sometimes returned as Internal Server Error
Open
Bug
Engine
GraphQL
- Dominant language
- TypeScript
- Stars
- 37.9k
- Forks
- 4.9k
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 36
Description
### Describe the Bug
When your mutation fails the GraphQL validation, the error is returned as an internal server error, which in turn means that non-admin users don't get to see the validation error message.
See https://github.com/directus/directus/discussions/17035#discussioncomment-8318694
### To Reproduce
Try performing a mutation with a wrong payload in the GraphQL endpoint
### Directus Version
10.8.3
### Hosting Strategy
Self-Hosted (Docker Image)
Contributor guide
Assessment
This issue has not been assessed yet.