RockteMQ-AI commented on issue #1443: URL: https://github.com/apache/rocketmq-dashboard/issues/1443#issuecomment-5236482891
**Issue Evaluation** Category: `type/bug` | Status: **Confirmed** Missing input validation for message body size is a valid bug. The Studio should validate against `maxMessageSize` (4MB default) before sending and return HTTP 400 with a clear error, rather than letting the producer throw and returning HTTP 500. **Root Cause:** `sendMessage()` does not check body size before delegating to the producer. **Impact:** Confusing error messages for users; 500 status code suggests server failure rather than client error. **Severity:** Medium — usability and error-handling issue. **Suggested fix:** Add size validation in `sendMessage()` before producer call; return 400 with descriptive message. --- *Automated evaluation by github-manager* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
