Errors
Nimble REST API communicates success and failure of a call with HTTP status codes. The meanings map onto the HTTP standard well. 2xx means success, 4xx - client-side error and 5xx - server-side error. Typically these will be supplemented by a list of SM_* codes for additional detail. For more information see the table below
| Code | Status | Description |
|---|---|---|
| 200 | OK | Call suceeded |
| 201 | Created | Object successfully created |
| 202 | Accepted | An asynchronous call has been triggered, a job id should be supplied |
| 400 | Bad request | Request was unacceptable |
| 401 | Unauthorized | Operation not authorized due to invalid token or inpermissible action given the user's role |
| 404 | Not found | Requested object could not be found |
| 409 | Conflict | Request is valid but conflicts with system state |
| 500 | Not implemented | This API has not yet been implemented |
| 501 | Internal server error | Server error, please contact support |
| 503 | Service unavailable | Server error, please contact support |