...
In case of a 400 or 500 in the Assure Increff Omni system , the below JSON body will be thrown.Note: In case of status code 500,
Please have a retry mechanism in place
...
for all the APIs where some details are being pushed to Increff system
Code Block | ||
---|---|---|
| ||
{ "code": "BAD_DATA", "message": "Input validation failed", "description": "[channelSkuCode: may not be null]" } |
...
By default we will assume that there is no error in the client system if there is no payload from the client system with HttpStatusCode 200 and we will mark it as a successful request in AssureIncreff Omni.
Http Status Code 4xx
The client system should throw an error with HttpStatusCode of series 4xx. In these cases the payload remains the same as before i.e.
Assure Omni Magic will try to deserialize the 4xx series into the following payload .If it’s able to deserialize into the following payload then it will be converted to a proper string which will be visible to any warehouse user.
...
"Error from channel : Something"
In case , Assure Omni magic is not able to deserialize into a given payload.
...
The message which gets printed on the Assure Increff WMS screen.
"Error from channel : Something more"
In case , Assure Omni magic is not able to deserialize into a given payload. Then only the following message will be displayed in the Assure Increff WMS screen.
"Error from channel : Unreadable message from channel with HttpCode : 5xx"
Note : There can be scenarios where the client system is down or there is an unhandled error. Then also the same error message will be displayed on the Assure Increff WMS screen.