Skip to main content

Delivery Error Codes

Written by Fin

DELIVERY ERROR CODES

No.

Error Code

Error Message

1.

1000

Invalid argument from request.

2.

1001

API key is invalid.

3.

1002

Delivery with D.O. # already exists on requested date.

4.

1003

Delivery with D.O. # not found on requested date.

5.

1004

Delivery with D.O. # not editable.

6.

1005

Delivery with D.O. # not deletable.

SAMPLE ERROR RESPONSE JSON #1

{
   "info":{
      "status":"failed",
      "error":{
         "code":1001,
         "message":"API key is invalid"
      }
   }
}

SAMPLE ERROR RESPONSE JSON #2

{
   "info":{
      "status":"ok",
      "failed":1
   },
   "results":[
      {
         "date":"2014-02-13",
         "do":"DO140213001",
         "status":"failed",
         "errors":[
            {
               "code":1002,
               "message":"Delivery with D.O. # DO140213001 already exists on 2014-02-13."
            }
         ]
      }
   ]
}

Did this answer your question?