Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Triangle SRV11 - Logs Compliance Check #1809

Open
abhik-wil opened this issue Nov 26, 2024 · 2 comments
Open

Home Triangle SRV11 - Logs Compliance Check #1809

abhik-wil opened this issue Nov 26, 2024 · 2 comments

Comments

@abhik-wil
Copy link

Multiple issues have been identified with the logs submitted. The following is the list of the issues:

For Buyer Logs:

{
    "Schema": {
        "schemaErr0": "/on_search/0/message/catalog/providers/0/locations/0 must have required property 'address'",
        "schemaErr1": "/on_search/0/message/catalog/providers/0/creds/0 must have required property 'url'",
        "schemaErr2": "/on_search/0/message/catalog/providers/0/creds/1 must have required property 'url'",
        "schemaErr3": "/on_search/0/message/catalog/providers/0/creds/2 must have required property 'url'",
        "schemaErr4": "/on_search/0/message/catalog/providers/0/creds/3 must have required property 'url'",
        "schemaErr5": "/on_search/0/message/catalog/providers/0/creds/4 must have required property 'url'",
        "schemaErr6": "/select/0/message/order/items/0 must have required property 'tags'",
        "schemaErr7": "/select/0/message/order/items/0 must match \"else\" schema",
        "schemaErr8": "/on_select/0 must have required property 'error'",
        "schemaErr9": "/on_select/0 must match \"then\" schema",
        "schemaErr10": "/on_select/0/message/order/provider must have required property 'locations'",
        "schemaErr11": "/on_select/0/message/order/items/0 must have required property 'category_ids'",
        "schemaErr12": "/on_select/0/message/order/items/0 must have required property 'tags'",
        "schemaErr13": "/on_select/0/message/order/items/0 must match \"else\" schema",
        "schemaErr14": "/init/0/message/order/items/0 must have required property 'tags'",
        "schemaErr15": "/init/0/message/order/items/0 must match \"else\" schema",
        "schemaErr16": "/on_init/0/message/order/provider must have required property 'locations'",
        "schemaErr17": "/on_init/0/message/order/items/0 must have required property 'tags'",
        "schemaErr18": "/on_init/0/message/order/items/0 must match \"else\" schema",
        "schemaErr19": "/confirm/0/message/order/status must be equal to one of the allowed values (Created)",
        "schemaErr20": "/confirm/0/message/order/provider must have required property 'locations'",
        "schemaErr21": "/confirm/0/message/order/items/0 must have required property 'tags'",
        "schemaErr22": "/confirm/0/message/order/items/0 must match \"else\" schema",
        "schemaErr23": "/confirm/0/message/order/payments/0/params must NOT be valid",
        "schemaErr24": "/confirm/0/message/order/payments/0 must match \"then\" schema",
        "schemaErr25": "/confirm/0/message/order/payments/0/type must be equal to constant (PRE-FULFILLMENT)",
        "schemaErr26": "/on_confirm/0/message/order/status must be equal to one of the allowed values (Created,Accepted,Cancelled)",
        "schemaErr27": "/on_confirm/0/message/order/provider must have required property 'locations'",
        "schemaErr28": "/on_confirm/0/message/order/items/0 must have required property 'tags'",
        "schemaErr29": "/on_confirm/0/message/order/items/0 must match \"else\" schema",
        "schemaErr30": "/on_confirm/0/message/order/payments/0/type must be equal to constant (PRE-FULFILLMENT)",
        "schemaErr31": "/on_confirm/0/message/order/created_at should remain same as in /confirm - \"2024-11-19T10:57:58.267Z\"",
        "schemaErr32": "/on_status/0/message/order/status must be equal to one of the allowed values (Created,Accepted,In-progress,Completed,Cancelled,Pending)",
        "schemaErr33": "/on_status/0/message/order/provider must have required property 'locations'",
        "schemaErr34": "/on_status/0/message/order/created_at should remain same as in /confirm - \"2024-11-19T10:57:58.267Z\"",
        "schemaErr35": "/on_status/0/message/order/updated_at should not be same as 'created_at - \"2024-11-19T10:57:58.435Z\"'",
        "schemaErr36": "/on_cancel/0/message/order/status must be equal to one of the allowed values (Cancelled)",
        "schemaErr37": "/on_cancel/0/message/order/provider must have required property 'locations'",
        "schemaErr38": "/on_cancel/0/message/order/created_at should remain same as in /confirm - \"2024-11-19T10:57:58.267Z\""
    },
    "Message": {
        "search_0": {
            "RGC-end-Err": "Reverse Geocoding for end failed. Area Code 110001 not matching with 13.038700,77.661920 Lat-Long pair.",
            "CityCode-Err": "CityCode 080 should match the city for the fulfillment end location 110001, 011"
        },
        "on_search_0": {
            "bpp/provider:location:1:RGC": "Reverse Geocoding for location ID 1 failed for provider with id '1000954'. Area Code 560043 not matching with 13.020123,77.656498 Lat-Long pair.",
            "missingLoc-0-err": "Location id/s L1 in /items does not exist in /providers/locations",
            "missingLoc-1-err": "Location id/s L1 in /items does not exist in /providers/locations",
            "missingLoc-2-err": "Location id/s L1 in /items does not exist in /providers/locations",
            "missingLoc-3-err": "Location id/s L1 in /items does not exist in /providers/locations"
        },
        "select_0": {
            "lctnIdErr0": "Location ids for item with id '9' does not match with the catalog provided in /on_search"
        },
        "confirm_0": {
            "item-0-DiffErr": "In /items, 'category_ids,cancellation_terms' mismatch from /on_select for item with id 9",
            "pymnt-0-err": "Transaction ID in payments/params cannot be provided when the payment status is 'NOT-PAID' (bc0ba317-7def-4517-81af-13f4c678780b)",
            "updatedAtErr": "order/updated_at cannot be future dated w.r.t context/timestamp",
            "createdAtErr": "order/created_at cannot be future dated w.r.t context/timestamp"
        },
        "on_confirm_0": {
            "item-0-DiffErr": "In /items, 'category_ids,cancellation_terms' mismatch from /on_select for item with id 9",
            "pymnt-0-err": "Transaction ID in payments/params cannot be provided when the payment status is 'NOT-PAID' (bc0ba317-7def-4517-81af-13f4c678780b)",
            "updatedAtErr": "order/updated_at cannot be future dated w.r.t context/timestamp",
            "createdAtErr": "order/created_at cannot be future dated w.r.t context/timestamp"
        },
        "on_status_0": {
            "pymntErr": "Transaction ID in payments/params cannot be provided when the payment status is 'NOT-PAID'"
        }
    }
}

For Seller Logs:

{
    "Schema": {
        "schemaErr0": "/on_search/0/message/catalog/providers/0/locations/0 must have required property 'address'",
        "schemaErr1": "/on_search/0/message/catalog/providers/0/creds/0 must have required property 'url'",
        "schemaErr2": "/on_search/0/message/catalog/providers/0/creds/1 must have required property 'url'",
        "schemaErr3": "/on_search/0/message/catalog/providers/0/creds/2 must have required property 'url'",
        "schemaErr4": "/on_search/0/message/catalog/providers/0/creds/3 must have required property 'url'",
        "schemaErr5": "/on_search/0/message/catalog/providers/0/creds/4 must have required property 'url'",
        "schemaErr6": "/select/0/message/order/items/0 must have required property 'tags'",
        "schemaErr7": "/select/0/message/order/items/0 must match \"else\" schema",
        "schemaErr8": "/on_select/0 must have required property 'error'",
        "schemaErr9": "/on_select/0 must match \"then\" schema",
        "schemaErr10": "/on_select/0/message/order/provider must have required property 'locations'",
        "schemaErr11": "/on_select/0/message/order/items/0 must have required property 'category_ids'",
        "schemaErr12": "/on_select/0/message/order/items/0 must have required property 'tags'",
        "schemaErr13": "/on_select/0/message/order/items/0 must match \"else\" schema",
        "schemaErr14": "/init/0/message/order/items/0 must have required property 'tags'",
        "schemaErr15": "/init/0/message/order/items/0 must match \"else\" schema",
        "schemaErr16": "/on_init/0/message/order/provider must have required property 'locations'",
        "schemaErr17": "/on_init/0/message/order/items/0 must have required property 'tags'",
        "schemaErr18": "/on_init/0/message/order/items/0 must match \"else\" schema",
        "schemaErr19": "/confirm/0/message/order/status must be equal to one of the allowed values (Created)",
        "schemaErr20": "/confirm/0/message/order/provider must have required property 'locations'",
        "schemaErr21": "/confirm/0/message/order/items/0 must have required property 'tags'",
        "schemaErr22": "/confirm/0/message/order/items/0 must match \"else\" schema",
        "schemaErr23": "/confirm/0/message/order/payments/0/params must NOT be valid",
        "schemaErr24": "/confirm/0/message/order/payments/0 must match \"then\" schema",
        "schemaErr25": "/confirm/0/message/order/payments/0/type must be equal to constant (PRE-FULFILLMENT)",
        "schemaErr26": "/on_confirm/0/message/order/status must be equal to one of the allowed values (Created,Accepted,Cancelled)",
        "schemaErr27": "/on_confirm/0/message/order/provider must have required property 'locations'",
        "schemaErr28": "/on_confirm/0/message/order/items/0 must have required property 'tags'",
        "schemaErr29": "/on_confirm/0/message/order/items/0 must match \"else\" schema",
        "schemaErr30": "/on_confirm/0/message/order/payments/0/type must be equal to constant (PRE-FULFILLMENT)",
        "schemaErr31": "/on_confirm/0/message/order/created_at should remain same as in /confirm - \"2024-11-19T10:57:58.267Z\"",
        "schemaErr32": "/on_status/0/message/order/status must be equal to one of the allowed values (Created,Accepted,In-progress,Completed,Cancelled,Pending)",
        "schemaErr33": "/on_status/0/message/order/provider must have required property 'locations'",
        "schemaErr34": "/on_status/0/message/order/created_at should remain same as in /confirm - \"2024-11-19T10:57:58.267Z\"",
        "schemaErr35": "/on_status/0/message/order/updated_at should not be same as 'created_at - \"2024-11-19T10:57:58.435Z\"'",
        "schemaErr36": "/on_cancel/0/message/order/status must be equal to one of the allowed values (Cancelled)",
        "schemaErr37": "/on_cancel/0/message/order/provider must have required property 'locations'",
        "schemaErr38": "/on_cancel/0/message/order/created_at should remain same as in /confirm - \"2024-11-19T10:57:58.267Z\""
    },
    "Message": {
        "search_0": {
            "RGC-end-Err": "Reverse Geocoding for end failed. Area Code 110001 not matching with 13.038700,77.661920 Lat-Long pair.",
            "CityCode-Err": "CityCode 080 should match the city for the fulfillment end location 110001, 011"
        },
        "on_search_0": {
            "bpp/provider:location:1:RGC": "Reverse Geocoding for location ID 1 failed for provider with id '1000954'. Area Code 560043 not matching with 13.020123,77.656498 Lat-Long pair.",
            "missingLoc-0-err": "Location id/s L1 in /items does not exist in /providers/locations",
            "missingLoc-1-err": "Location id/s L1 in /items does not exist in /providers/locations",
            "missingLoc-2-err": "Location id/s L1 in /items does not exist in /providers/locations",
            "missingLoc-3-err": "Location id/s L1 in /items does not exist in /providers/locations"
        },
        "select_0": {
            "lctnIdErr0": "Location ids for item with id '9' does not match with the catalog provided in /on_search"
        },
        "confirm_0": {
            "item-0-DiffErr": "In /items, 'category_ids,cancellation_terms' mismatch from /on_select for item with id 9",
            "pymnt-0-err": "Transaction ID in payments/params cannot be provided when the payment status is 'NOT-PAID' (bc0ba317-7def-4517-81af-13f4c678780b)",
            "updatedAtErr": "order/updated_at cannot be future dated w.r.t context/timestamp",
            "createdAtErr": "order/created_at cannot be future dated w.r.t context/timestamp"
        },
        "on_confirm_0": {
            "item-0-DiffErr": "In /items, 'category_ids,cancellation_terms' mismatch from /on_select for item with id 9",
            "pymnt-0-err": "Transaction ID in payments/params cannot be provided when the payment status is 'NOT-PAID' (bc0ba317-7def-4517-81af-13f4c678780b)",
            "updatedAtErr": "order/updated_at cannot be future dated w.r.t context/timestamp",
            "createdAtErr": "order/created_at cannot be future dated w.r.t context/timestamp"
        },
        "on_status_0": {
            "pymntErr": "Transaction ID in payments/params cannot be provided when the payment status is 'NOT-PAID'"
        }
    }
}
@abhik-wil
Copy link
Author

@maruthi-htr

@maruthi-htr
Copy link
Contributor

maruthi-htr commented Nov 27, 2024

Hi @abhik-wil I have fixed the issue and created PR(#1813) please validate this from your end once. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants