firing an event whose payload is too big should return client error, not server error
Open
theme/api
type/enhancement
- Dominant language
- Go
- Stars
- 30.1k
- Forks
- 4.6k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 43
Description
Consul v0.7.5
Firing an event via the HTTP api (`PUT /v1/event/fire/foo`) with a payload that is too big results in a 500 from the agent with a message like `user event exceeds limit of 512 bytes`. This should be [`413`](https://httpstatuses.com/413) or maybe [`727`](https://github.com/joho/7XX-rfc).
Contributor guide
Assessment
This issue has not been assessed yet.