Skip to content

send large message make "413 PAYLOAD_TOO_LARGE" ERROR #1299

@ScalaFirst

Description

@ScalaFirst

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running main-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

send large message make "413 PAYLOAD_TOO_LARGE" ERROR
error message:
"code":5000,"message":"413 PAYLOAD_TOO_LARGE","timestamp":1756279720838,"requestId":"c0e71f32-96","fieldsErrors":[],"stackTrace":"org.springframework.web.server.PayloadTooLargeException: 413 PAYLOAD_TOO_LARGE\n\tat

Expected behavior

No response

Your installation details

  1. version: 8b5494b

Steps to reproduce

curl 'http://ip:port/api/clusters/xxx/topics/xxx/messages'
-H 'Accept: /'
-H 'Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6'
-H 'Cache-Control: no-cache'
-H 'Content-Type: application/json'
-H 'Pragma: no-cache'
-H 'Proxy-Connection: keep-alive'
-H 'Expect:" "'
-d @'test_curl_body.json'
--insecure

test_curl_body.json:
{"partition":0,"key":null,"value":"${this is need to send very large value}","keySerde":"String","valueSerde":"String"}

Screenshots

No response

Logs

"code":5000,"message":"413 PAYLOAD_TOO_LARGE","timestamp":1756279720838,"requestId":"c0e71f32-96","fieldsErrors":[],"stackTrace":"org.springframework.web.server.PayloadTooLargeException: 413 PAYLOAD_TOO_LARGE\n\tat

Additional context

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions