goldzzz1 opened a new issue, #9091:
URL: https://github.com/apache/seatunnel/issues/9091

   ### 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
   
   
   
   HTTPJSON
   
    "result": {
           "header": {
               "number": "10005751",
               "doc_date": "2025-02-28",
               "start_date": "2025-02-01",
               "stop_date": "2025-02-28",
               "contract_date": "2019-12-24",
               "contract_number": "ИР-23223/19",
               "payer_name": "Интернет Решения, ООО",
               "payer_inn": "7704217370",
               "payer_kpp": "997750001",
               "receiver_name": "МС Джинс, ООО",
               "receiver_inn": "7729722279",
               "receiver_kpp": "772301001",
               "doc_amount": 20651536.61,
               "vat_amount": 0,
               "currency_sys_name": "RUR"
           },
           "rows": [
               {
                   "rowNumber": 1,
                   "item": {
                       "name": "Джинсы Feimailis",
                       "offer_id": "AB926-52E-7-30",
                       "barcode": "OZN201543969",
                       "sku": 201543969
                   },
                   "seller_price_per_instance": 1028,
                   "delivery_commission": {
                       "price_per_instance": 782,
                       "quantity": 1,
                       "amount": 782,
                       "compensation": 0,
                       "commission": 0,
                       "bonus": 244.04,
                       "standard_fee": 128.5,
                       "total": 899.5,
                       "stars": 0,
                       "bank_coinvestment": 1.96,
                       "pick_up_point_coinvestment": 0
                   },
                   "return_commission": null,
                   "commission_ratio": 0.125
               }
   
   ### SeaTunnel Version
   
   2.3.1
   
   ### SeaTunnel Config
   
   ```conf
   source{
   Http {
     url = "https://api-seller.ozon.ru/v2/finance/realization";
     method = "POST"
     headers = 
{Client-Id="32653",Api-Key="e153c36f-3c78-4202-87cd-6c08ee283285"}
      body =" {\"month\": 2,\"year\": 2025}"
      json_field = {
   
      barcode = "$.result.rows[*].item.barcode"
     amount = "$.result.rows[*].delivery_commission.amount"
   
   
       }
   
   
     schema = {
       fields {
   
       barcode=string
       amount=string
   
   
   
   
       }
   
   
     }
   ```
   
   ### Running Command
   
   ```shell
   ./bin/seatunnel.sh --config ./config/ozon/ozonsellm.config
   ```
   
   ### Error Exception
   
   ```log
   2025-03-31 17:43:45,270 ERROR 
org.apache.seatunnel.connectors.seatunnel.http.source.HttpSourceReader - 
ErrorCode:[HTTP-01], ErrorDescription:[The field data is inconsistent] - 
[$['result']['rows'][*]['item']['barcode']](9114) and 
[$['result']['rows'][*]['delivery_commission']['amount']](8926) the number of 
parsing records is inconsistent.
   
org.apache.seatunnel.connectors.seatunnel.http.exception.HttpConnectorException:
 ErrorCode:[HTTP-01], ErrorDescription:[The field data is inconsistent] - 
[$['result']['rows'][*]['item']['barcode']](9114) and 
[$['result']['rows'][*]['delivery_commission']['amount']](8926) the number of 
parsing records is inconsistent.
   ```
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### 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: commits-unsubscr...@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to