Error Handling
The table below defines common error codes encountered in Dispatch Pro responses.
| Error Code | Definition | Potential Solution |
|---|---|---|
| 304 | Not modified | Confirm that the request body differs from the item’s current state. |
| 400 | Model validation error | Check message for more details and try the request again once all errors have been addressed. |
| 401 | Unauthorized | Make sure that your access token has not expired; Generate a new token. |
| 403 | Invalid access to resource | Confirm that the item you are trying to access belongs to your AgSync organization ID. |
| 404 | Item not found | Confirm that item of interest exists. |
| 409 | Conflict, version specified does not match expected version of the resource | Confirm that the version of the request body is up-to-date with the current state of the item. If it is not, update it and try the request again. |
| 415 | Unsupported media type | Confirm Content-Type header represents the type of request body being passed. |
| 500 | Internal server error | Report error message to apisupport@ravenind.com. |