Skip to content

API error codes and messages

Pablo Pazos edited this page May 24, 2016 · 16 revisions
Action Error Code Message HTTP Status
login no record for provided username 401 Unauthorized
login user disabled 401 Unauthorized
login user account expired 401 Unauthorized
login user account locked 401 Unauthorized
login provided password don't match 401 Unauthorized
login no organization number provided 401 Unauthorized
login organization with number provided doesn't exists 401 Unauthorized
login organization not associated with user 401 Unauthorized
commit ehrUid not provided 400 Bad Request
commit auditSystemId not provided 400 Bad Request
commit auditCommitter not provided 400 Bad Request
commit no EHR found for the provided ehrUid 400 Bad Request
commit user can't access the EHR, it belongs to an organization not associated with the user 400 Bad Request
commit request body is empty or versions XML element not found 400 Bad Request
commit parsed versions is empty (error during parsing) 400 Bad Request
commit parsed versions root node is empty (error accessing the root version element) 400 Bad Request
commit some parsed versions fail XSD validation 400 Bad Request
commit other generic error related to processing the parsed versions/compositions 400 Bad Request
checkout ehrUid not provided 400 Bad Request
checkout compositionUid not proivded 400 Bad Request
checkout no versions found for the compositionUid 404 Not Found
checkou t no versions found for the compositionUid 500 Internal Server Error