Skip to content

Schema Validation Error: Invalid Offer Descriptor Code in on_search #116

@yadukrishnan0

Description

@yadukrishnan0

In util, you implement discount, slab, combo, delivery, etc., for offers[].descriptor.code. However, in the schema, offers[].descriptor.code only accepts the following values: disc_pct, disc_amt, buyXgetY, and freebie

{"success":false,"response":{"message":"Logs were not verified successfully","report":{"on_search_full_catalog_refresh":{"schemaErr0":"/message/catalog/bpp~1providers/0/offers/0/descriptor/code must be equal to one of the allowed values (disc_pct,disc_amt,buyXgetY,freebie)","message/catalog/bpp/providers0/categories/items":"No items are mapped with the given category_id 12500 in providers0/items"},"on_search_inc_refresh":{"on_search_inc_refresh":"JSON cannot be empty"}},"bpp_id":"hidden_bpp_id","bap_id":"hidden_bap_id","domain":"ONDC:RET11","reportTimestamp":"2025-03-15T04:40:23.517Z"},"signature":"G189O5wawJH7E+k5eydtnV+ETiQ+eWgn7UADCYBP2YjbFlquSQ3vblTgHRVM8icTw45yLWC8ok+jO+E9ctJyAA==","signTimestamp":"2025-03-15T04:40:23.517Z"}

@sandeepshahi @Jagannath-Padhy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions