Errors Codes

1P Suppliers API Guide for Errors

If an API call cannot reach the Walmart gateway, a basic HTTP error code is returned (such as 503: Service Unavailable). However, if the gateway is reached, a full error response object is returned.

The table below shows the supported error code responses for 1P suppliers.

  1. The first parameter provides the error description.
  2. The second parameter shows the HTTP status code.
  3. The third parameter specifies the error category.
  4. The fourth parameter specifies the error severity.
  5. The fifth parameter specifies whether the error response includes a field tag.
Error CodeHTTP StatusCategorySeverityField Included
SOME_CONTENT_NOT_FOUND206ApplicationInfoFalse
INVALID_REQUEST400DATAERRORTrue
INVALID_REQUEST_HEADER400DATAERRORTrue
INVALID_REQUEST_PARAM400DATAERRORTrue
INVALID_REQUEST_CONTENT400DATAERRORTrue
MISSING_REQUEST_HEADER400DATAERRORTrue
MISSING_REQUEST_PARAM400DATAERRORTrue
MALFORMED_REQUEST_CONTENT400DATAERRORTrue
UNAUTHORIZED401DATAERRORFalse
CONTENT_NOT_FOUND404ApplicationInfoFalse
URI_NOT_FOUND404DATAERRORFalse
METHOD_NOT_ALLOWED405DATAERRORFalse
INVALID_ACCEPT_TYPE406ApplicationERRORFalse
UNSUPPORTED_MEDIA_TYPE415DATAERRORFalse
RESOURCE_IS_LOCKED.GMP_RECEIVER_API423ApplicationERRORFalse
REQUEST_THRESHOLD_VIOLATED429REQUESTERRORFalse
INVALID_SYSTEM_STATE500SystemERRORFalse
SYSTEM_ERROR500SystemERRORFalse
DOWNSTREAM_SYSTEM_TIME_OUT504SystemERRORFalse

Table: Error Codes