400 Error for Cart API in JioMart Android & iOS app

Hi we are getting Error 400 for cart API in Android & iOS JioMart app.

Following is the logs.

We are using standard method of get cart in the FDK.

The shipment extension is configured via data loader in the jiox1.de complany platform

→ GET
https://jiomartplaypitcompany.jiox1.de/ext/shipmentfee/cart/v1/detail?id=&i=true&b=true&area_code=400001
h2
2024-02-20 12:39:16.391 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I User-Agent: Platform/Android Platform-Version/9 App-Name/Personalize-Fynd-Store App-Version/2.0.18 Identifier/com.jpl.jiomart
2024-02-20 12:39:16.391 15588-17620 NetworkMan…cketTagger com.jpl.jiomart D tagSocket(135) with statsTag=0xffffffff, statsUid=-1
2024-02-20 12:39:16.391 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I Accept-Language: en-IN
2024-02-20 12:39:16.391 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I x-currency-code: INR
2024-02-20 12:39:16.392 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I x-fp-sdk-version: 0.1.30
2024-02-20 12:39:16.392 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I Authorization: Bearer NjRiMDAyZTEzODZiYWU1OGY4NTZmMDZkOnNmcTdKNDdYNQ==
2024-02-20 12:39:16.393 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I x-fp-date: 20240220T070916Z
2024-02-20 12:39:16.393 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I host: jiomartplaypitcompany.jiox1.de
2024-02-20 12:39:16.393 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I x-fp-signature: v1.1:5aba09e24b6bab202795a90563ad62317045f09472b2c56ce4730c21a3628b38
2024-02-20 12:39:16.394 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I x-location-detail: {“city”:“Mumbai”,“country”:“India”,“pincode”:“400001”,“state”:“Maharashtra”}
2024-02-20 12:39:16.394 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I Connection: Keep-Alive
2024-02-20 12:39:16.395 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I Accept-Encoding: gzip
2024-02-20 12:39:16.395 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I Cookie: anonymous_id=56fb2f863c434d8dbba8442f16e30d79; old_browser_anonymous_id=56fb2f863c434d8dbba8442f16e30d79; f.session=s%3AHQ-apWoki5stpxHvP0-iMG_o2X0kXRz1.tN5BgGvbbVLIe0BG3WzovcRGa2D8%2FFNjDq2qzYbO5Bk
2024-02-20 12:39:16.396 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I → END GET

← 400
https://jiomartplaypitcompany.jiox1.de/ext/shipmentfee/cart/v1/detail?id=&i=true&b=true&area_code=400001
(298ms)
2024-02-20 12:39:16.695 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I server: openresty
2024-02-20 12:39:16.695 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I date: Tue, 20 Feb 2024 07:09:16 GMT
2024-02-20 12:39:16.696 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I content-length: 0
2024-02-20 12:39:16.696 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I strict-transport-security: max-age=63072000; includeSubdomains
2024-02-20 12:39:16.696 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I x-content-type-options: nosniff
2024-02-20 12:39:16.697 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I via: 1.1 google, 1.1 google
2024-02-20 12:39:16.697 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I alt-svc: h3=“:443”; ma=2592000,h3-29=“:443”; ma=2592000
2024-02-20 12:39:16.698 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I alt-svc: h3=“:443”; ma=2592000,h3-29=“:443”; ma=2592000
2024-02-20 12:39:16.698 15588-16360 okhttp.OkHttpClient com.jpl.jiomart I ← END HTTP (0-byte body)

@Pitchaimani @Pitchaimani_M , can check this?
This is your extension API

@Abhishek_Singh - can we connect once for this issue?

@kedar2a , @Abhishek_Singh - Extension never returns 400 error. Hence i wish to get this reproduced through live debugging to proceed further.

Please discard “id” attribute from query parameter, when we dont have the valid value. Passing empty value to “id” query parameter is causing the 400 A.K.A BAD REQUEST Error.

@Abhishek_Singh - Relaxed the “id” query parameter validation and tested the same as well. Kindly check it out from your end and confirm

Thanks Mani for quick help!