Difference between revisions of "General Error Set"

From Updox API
Jump to: navigation, search
(Init)
 
 
Line 3: Line 3:
 
== General Error Code Set ==
 
== General Error Code Set ==
  
: 2000: OK 
+
{{Error Code Table Header}}
: 4000: Bad Request 
+
{{Response Code Table Row|2000}}
: 4010: Unauthorized
+
{{Response Code Table Row|4000}}
: 4011: Unauthorized [Practice does not exist]
+
{{Response Code Table Row|4010}}
: 4012: Unauthorized [User does not exist]
+
{{Response Code Table Row|4011}}
: 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.]
+
{{Response Code Table Row|4012}}
: 5000: an unknown error has occurred
+
{{Response Code Table Row|4060}}
: 5100: an unknown server error has occurred
+
{{Response Code Table Row|5000}}
: 5110: an unknown server error has occurred
+
{{Response Code Table Row|5100}}
 +
{{Response Code Table Row|5110}}
 +
|}

Latest revision as of 17:32, 21 November 2013

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

Code Message
2000 OK
4000 Bad Request
4010 Unauthorized
4011 Unauthorized [Practice does not exist or is inactive]
4012 Unauthorized [User does not exist or is inactive]
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