Open sahil-ondc opened 5 months ago
Why I am not getting these errors while testing with the log validation utility? @sahil-ondc
I have one doubt regarding the catalog, in incremental search if we didn't find any change by any seller... Do we need to pass NACK or a proper response with an empty node? @sahil-ondc
In flow 6, is liquidation mandatory to be there? @sahil-ondc @sandeepshahi
bpp/providers[0]/items[0]/descriptor/code code should have 3:GTIN as a value in /message/catalog/bpp/providers[0]/items[0]/descriptor/code
prvdr0item0ff fulfillment_id in /bpp/providers[0]/items[0] should map to one of the fulfillments id in bpp/prvdr0/fulfillments
schemaErr0 /context/action must be equal to constant (on_search)
prvdr0item0ff fulfillment_id in /bpp/providers[0]/items[0] should map to one of the fulfillments id in bpp/prvdr0/fulfillments
schemaErr0 /message/order/quote/breakup/1/price/value Price value should be a number in string with upto 2 decimal places
priceErr Warning: Quoted Price in /on_select INR 2420 does not match with the total price of items in /select INR 1536 i.e price for the item id: 13 and 16 mismatch in on_search and on_select
schemaErr0 /message/order/quote/breakup/1/price/value Price value should be a number in string with upto 2 decimal places
schemaErr2 /message/order/payment must have required property '@ondc/org/settlement_details'
quoteErr0 Mismatch found for item with item_id 13 while comparing quote object of on_select and on_init
quoteErr1 Mismatch found for item with item_id 16 while comparing quote object of on_select and on_init
message.order.tags[0].list Pan_id shouldn't be same in tax_number and provider_tax_number in message.order.tags[0].list
message/order/tags/bpp_terms List of bpp_terms mismatched in message/order/tags/bpp_terms for on_init and on_confirm here Code 'accept_bap_terms' present in first list but not in second list.
schemaErr0 /message/order/quote/breakup/1/price/value Price value should be a number in string with upto 2 decimal places
schemaErr0 /message/order/quote/breakup/1/price/value Price value should be a number in string with upto 2 decimal places
schemaErr1 /message/order/payment must have required property '@ondc/org/settlement_details'
on_cancel_msgId Message Ids for /cancel and /on_cancel api should be same
itemCount Total item count in message/order/items doesn't match with item count of /on_select
invldQuotePrices item quote breakup prices for on_cancel should be equal to the total price.
Fulfillment_mismatch The count of cancellation fulfillments is not equal to the count of forward fulfillments or invalid fulfillment id.
missingCancel Cancel fulfillment object is mandatory for on_cancel
missingPreCancel Pre Cancel is mandatory for on_cancel
schemaErr0 /message/order/fulfillments/0/tags/1/code must be equal to one of the allowed values (cancel_request,igm_request,precancel_state,quote_trail,routing,tracking)
schemaErr1 /message/order/fulfillments/0/tags/1/list/2/code must be equal to one of the allowed values (reason_id,initiated_by,fulfillment_state,updated_at,retry_count,rto_id,id,currency,value,type,gps_enabled,url_enabled,url)
schemaErr2 /message/order/fulfillments/1 must have required property 'tags'
schemaErr3 /message/order/fulfillments/1/ must have required property 'end'
schemaErr4 /message/order/quote/breakup/1/price/value Price value should be a number in string with upto 2 decimal places
schemaErr5 /message/order/quote/breakup/3 must have required property 'title'
schemaErr6 /message/order/payment must have required property '@ondc/org/settlement_details'
itemCount Total item count in message/order/items doesn't match with item count of /on_select
Fulfillment_mismatch The count of cancellation fulfillments is not equal to the count of forward fulfillments or invalid fulfillment id.
ffID mp2_immediate_f1 fulfillment id mp2_immediate_f1 does not exist in /on_cancel items.fulfillment_id
ffID mp2_immediate_f1-RTO fulfillment id mp2_immediate_f1-RTO does not exist in /on_cancel items.fulfillment_id
RTOfulfillment.end RTO fulfillment end object is missing in on_cancel
RTO.start.location/DeliveryFulfillment.end.location RTO fulfillment start or Delivery fulfillment end location is missing in on_cancel
RTO.end.location/DeliveryFulfillment.start.location RTO fulfillment end or Delivery fulfillment start location is missing in on_cancel
missingCancelRequest Cancel Request is mandatory for on_cancel in fulfillment type delivery
precancelState.updatedAt precancel_state.updated_at of on_cancel is not equal with the on_status_out_for_delivery order.updated_at
missingReasonID Reason ID is mandatory field for on_cancel
missingInitiatedBy Initiated_by is mandatory field for on_cancel
invldQuotePrices Item quote breakup prices for /on_update_part_cancel should be equal to the net price.
Delivery.start.location.id Delivery fulfillment start location id is missing in on_update_part_cancel
invalid_partcancel_return_request_reason reason code allowed are 002,012
city City code mismatch in /search and /on_status
message/order.fulfillments/0 Mismatch occured while comparing 'Cancel' fulfillment object with on_update_part_cancel
missingTags Tags are mandatory in Delivery Object for on_status_picked
message/order.fulfillments/0 Mismatch occured while comparing 'Cancel' fulfillment object with on_update_part_cancel
invldQuotePrices Item quote breakup prices for /on_update_interim_reverse_qc should be equal to the net price.
message/order.fulfillments/Cancel/tags/quote_trail Missing fulfillments/Cancel/tags/quote_trail as compare to the previous calls
invalid_initiated_by initiated_by should be buyer-app-preprod-v2.ondc.org
invldQuotePrices Item quote breakup prices for /on_update_approval should be equal to the net price.
Delivery.start.location.id Delivery fulfillment start location id is missing in on_update_approval
message/order.fulfillments/Cancel Fulfillments/Cancel is missing in on_update_approval
invalid_initiated_by initiated_by should be buyer-app-preprod-v2.ondc.org
Same as above
update_settlement_reverse_qc_msgId Message id should not be same with previous calls
same as above
@SatyaranjanSwain
On Search Full Catalog Refresh
@Jagannath-wits @sahil-ondc @sandeepshahi
So as of now, we have not enabled this GTIN. Can we provide 4-HSN in the item->descriptor->code(but it will not be unique as many of the items could belong to the same category? Please suggest.
@Jagannath-wits
On Search Full Catalog Refresh
- bpp/providers[0]/items[0]/descriptor/code code should have 3:GTIN as a value in /message/catalog/bpp/providers[0]/items[0]/descriptor/code - What should be the value of GTIN and what is it?
@Jagannath-wits @sahil-ondc @sandeepshahi
Ok you can use the previous key of 5:others as you're selling handmade items
Okay, thanks for the clarification.
@Jagannath-wits
/on_search
and /search
should be less than 5 seconds./on_select
and /select
should be less than 5 seconds./on_select
INR 2420 does not match with the total price of items in /select
INR 1536. Consider the base value instead of maximum_price
for item IDs "13"
and "16"
.on_status_packed
is exactly similar to on_status_pending
."In-progress"
for /on_status_packed
.on_status_picked
.on_status_out_for_delivery
.on_status_delivered
.on_cancel
should be equal to the price as in on_confirm
. The discount
object is missing in the quote trail.,
wasn’t there? Was this handled manually?/on_select
INR 1000 does not match with the total price of items in /select
INR 600. Consider the base value instead of maximum_price
for item ID "16"
.on_status_picked
.on_status_out_for_delivery
./on_select
INR 2000 does not match with the total price of items in /select
INR 1200. Consider the base value instead of maximum_price
for item IDs "16"
and "64"
.payment/@ondc/org/settlement_details
as compared to update_settlement_part_cancel
./on_update_approval
should be equal to the net price.payment/@ondc/org/settlement_details
as compared to update_settlement_part_cancel
.= Same as above Return fulfillment missing quote trail
/message/order/payment
must have the required property @ondc/org/settlement_details
./on_update_approval
should be equal to the net price.Note :
@SatyaranjanSwain
<p>
is being is used in long_desc in the items"– invoice missing and should be updated after part-cancel as well.
@SatyaranjanSwain
@ondc/org/statutory_reqs_packaged_commodities
missing in items@ondc/org/buyer_app_finder_fee_type
, @ondc/org/buyer_app_finder_fee_amount
, @ondc/org/settlement_details
are required in payment object as only buyer is collecting payment currently. In case seller wants to collect the payment then you can send it the way you sent but then it won't change in confirm call; right now payment is only accepted by buyer on network so the payment object in confirm is correctDelivery_fulfillment.start.time.range
missing.Delivery_fulfillment.end.time.range
missing.Return_fulfillment.end.time
is not required@SatyaranjanSwain
/on_search
/on_search (inc)
/on_select
/on_confirm
/on_status
/on_cancel
/on_status (RTO Delivered)
@SatyaranjanSwain, please answer the above queries and resolve the issues
/on_search
No these are not hardcoded, whatever is present(recorded form the sellers) in the DB I am providing the same
_.Currently we are dealing with only handicraft items which doesn't have any variants. But there is a provision for implementing it as we will soon deal with other categories.
After variant implementation it will be made as asked.
/on_search (inc)
Will change it.
Yes all are supported like start, stop and 1-time also.
/on_select
No, this is not sent by the LSP(only sent the delivery time - 55m). It's the order preparation time(7d - in this case) that the seller defines while listing the item.
/on_confirm
Will change it.
_**/on_status
For testing purpose only we are providing this value.
Will change it.
/on_cancel
Will change it.
Will change it.
_**Will change it.
/on_status (RTO Delivered)
Will address this issue soon.
_**Will address this issue soon.
_**@sandeepshahi
@SatyaranjanSwain, please provide the ETA for implementation of variants.
It will take 4-5 working days. @sandeepshahi
Flow 1
on_search_full_catalog_refresh
https://docs.google.com/spreadsheets/d/1APAvavF_BNbTA89benAlGtv0GuFvpn2b6XXi4lSdTTw/edit#gid=2063907654
search_inc
on_search_inc
Flow 2
on_select
on_init
confirm
on_status
Flow 3
Same as above
on_select (out-of-stock)
https://docs.google.com/document/d/1brvcltG_DagZ3kGr1ZZQk4hG4tze3zvcxmGV4NMTzr8/edit#heading=h.c6o4dr7q1ywl
Flow 4
Same as above
on_cancel
Flow 5
Same as above
Flow 6
Note
Kindly do check your logs using log-validation-utility
https://github.com/ONDC-Official/log-validation-utility
@SatyaranjanSwain