If an error is encountered, the API will return a JSON object with a status code of either 400 (Bad Request), 401 (Unauthorized), or 500 (Internal Server Error) . The JSON object will include a detailed error message. For help, contact partner.integration@orchestro.ai with the information.

Error Object

code
string

Error Code

message
string

Error Description

401 Unauthorized

Response
{ 
"errors": [ 
  { 
	“code”: “ERR-1000, 
	“message”: “Invalid Token.” 
  } 
] 
}

400 Bad Request

Response
{ 
  "errors": [ 
	{ 
  	"code": "ERR-3001", 
  	"message": "Shipment Date is required." 
	}, 
	{ 
 	"code": "ERR-3003", 
 	"message": "Total number of parcels should be greater than 0." 
	} 
  ] 
} 

500 Internal Server Error

Response
{ 
  "errors": [ 
	{ 
  	"code": "ERR-2025", 
  	"message": "We are having some issue, please resubmit the request." 
	}, 
  ] 
}