Last modified on October 21, 2013 at 5:33 pm
Many of these error codes are based upon HTTP status codes to help with predictability and familiarity.
1xx codes Informational
||The request was valid, and another related request is expected.
||The request was valid, but can only be served via another protocol. (eg. HTTPS)
||Message provides information. Experimental/debug only.
2xx codes Success Codes
||The request was successful.
||An object was created successfully. (such as a User)
||An object was successfully submitted for processing, but the server doesn’t have information about the status of the request at the moment. (for example, sending of an email)
||The request was successful, but the server has no data to return.
||Partial Content Follows
||The request was valid, and part of the response is being returned. Expect more.
3xx codes Redirection
||The service URI you have requested has moved permanently. Message contains new location.
||The service URI is valid, but use the new location for this request only.
||The result of the request has been served from cache.
||Please use the new location for this request only.
4xx codes Client Errors
||The request was malformed and the server could not determine what you were trying to do.
||You are not authorized for the operation you requested. Please authorize and try again.
||The service you requested was not found. Retries will not be successful.
||Method Not Allowed
||The method you used to request is not supported, but others are. See message for valid methods (e.g. POST vs GET)
||Your request timed out during processing. Please wait, then try again later.
||The server understood the request, but could not fulfill it due to some resource conflict (e.g. tow people modifying a file). Try again later.
||Previously, there was a service here, but there is not one any longer. No forwarding information is available.
||Some pre-required data for the request was not fulfilled. See message for details.
||Unsupported Media Type
||The credentials given were not valid.
||Authentication Scheme Not Supported
||The authentication method you are attempting is not supported by your organization.
||Protocol Not Allowed
||Your authentication must be made over a secure channel (e.g. HTTPS).
||Host Not Allowed
||You cannot authenticate from your current host using the current method.
||Your account is missing information required for authentication (e.g. the shared secret). See message for details.
||The timestamp sent with your authentication request is expired or has been previously used.
||The server could not read the value of the hash parameter that you sent with the request.
||Unexpected Hash Value
||The value of the hash parameter you sent does not match what the server was expecting.
||User Not Found
||Could not authenticate the user you requested because they could not be found.
||User Not Created
||Although the server was expecting to create a user, it could not due to missing information. See message details.
||Bad Authentication Configuration
||The configuration setup for this organization is not valid on the server side (e.g. host pattern is invalid)
5xx codes Server Errors
||Internal Server Error
||An unexpected error occurred on the server.
||The server knows about the service, but not how to fulfill it.
||The server is currently unavailable. Try again later.
||The server timed out while talking to an internal resource (such as a database). Try again later.
6xx codes Model Errors
||Soem piece of required data was missing from the request, but the server cannot determine what it is.
||Missing Data X
||“X” was missing from the request. See message for what X is.
7xx codes Organization / Limit Errors
||Not Supported for Organization
||The request was valid, but not supported for your organization.
||The resource you requested could not be allocated due to limits of your organization (e.g. too many course admins or media file too big).
8xx codes Format Errors
||Bad Format X
||The format of X is not valid. See message for what X is.
||Must Be Numeric X
||The format of X must be numeric.
||Invalid Date X
||The format of X must be a valid date. If a range is required, it is described in the message.
||Field Too Long X
||The length of X is too long. See message for valid lengths.
||Field Too Short X
||The length of X is too short. See message for valid lengths.
||May not be empty X
||Field X may not be empty.
9xx codes Session Errors