TooHardtoCreateAUsername opened a new issue, #9537: URL: https://github.com/apache/seatunnel/issues/9537
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened 当我尝试通过http接口获取到一批数据,然后通过http接口批量写入数据的新特性,发现批量写入接口报错,查看源码发现,在转化数据后,拼接数据的方式有问题,希望数据:[{"id":1,"name":"xiaoming1","age":18},{"id":2,"name":"xiaoming2","age":19},{"id":3,"name":"xiaoming3","age":20}],实际:["{"id":1,"name":"xiaoming1","age":18}","{"id":2,"name":"xiaoming2","age":19}","{"id":3,"name":"xiaoming3","age":20}"] ### SeaTunnel Version 2.3.11 ### SeaTunnel Config ```conf env { # You can set SeaTunnel environment configuration here parallelism = 1 job.mode = "BATCH" } source { # This is a example source plugin **only for test and demonstrate the feature source plugin** Http { plugin_output = "http1" url = "http://mockserver/example-source.json" method = "GET" format = "json" content_field = "$.data.*" schema = { fields { id = int name = string age = int } } } } sink { Console { plugin_input = "http1" } Http { plugin_input = "http1" url = "http://mockserver/http/insert" headers { token = "xxxxx" Content-Type = "application/json" } array_mode = true batch_size = 50 request_interval_ms = 500 } } ``` ### Running Command ```shell ./bin/seatunnel.sh -c scripts1/http_http_1 ``` ### Error Exception ```log http client execute exception, http response status code:[400], content:[{"timestamp":"","status":400,"error":"Bad Request","path":"/http/insert"}] ``` ### Zeta or Flink or Spark Version _No response_ ### Java or Scala Version 1.8 ### Screenshots I checked the commit records, and there is such a problem in HttpSinkWriter.java.  Maybe it should be  ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
