General Error Set

From Updox API
Revision as of 11:53, 11 November 2013 by Rhanlon (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The General Error Code Set is the set of error codes that is possible in any API response. Examples include general validation errors, authentication errors, or server errors.

General Error Code Set

2000: OK
4000: Bad Request
4010: Unauthorized
4011: Unauthorized [Practice does not exist]
4012: Unauthorized [User does not exist]
4060: [This code is for a validation error in the request. For example not including a required field, an invalid e-mail address, too long of a value, etc. A list of the errors is included in the message.]
5000: an unknown error has occurred
5100: an unknown server error has occurred
5110: an unknown server error has occurred