Error Codes

There are several error types, which may occur in the system:

Errors Groups Description
Authentication Errors are related to authentication and accounts.
Common Errors are related to web-services.
Resume Search Errors are related to resume search.
Resume Full View Errors are related to resume full view.
Message Send Errors are related to send message.

Authentication Error Codes

Error Code Error Message Status Code Description
10000 MSG_AUTH_UNAUTHORIZED FORBIDDEN User is unuahtorized or session is expired
10001 MSG_AUTH_EMPTY_TOKEN BAD_REQUEST Authentication token value is empty
10002 MSG_AUTH_EMPTY_HEADER FORBIDDEN Authorization header is empty
10003 MSG_AUTH_INVALID_STRATEGY_HEADER FORBIDDEN Strategy header is invalid
10004 MSG_AUTH_ACCOUNT_EMPTY_ASSOCIATED
_PROVIDER
FORBIDDEN Account has no associated provider
10005 MSG_AUTH_ACCOUNT_INVALID_TRUSTED_ACCOUNT FORBIDDEN Provider’s trusted account with specified api key does not exist
10008 MSG_AUTH_ACCOUNT_DOES_NOT_EXIST_ANY_MORE FORBIDDEN User’s account does not exist on the moment of authentication checking
10010 MSG_AUTH_INVALID_QUOTING_IN_HEADER FORBIDDEN Authorization header contains invalid quoting
10011 MSG_AUTH_UNKNOWN_AUTH_ALGORITHM FORBIDDEN Authorization header auth algorithm value is invalid
10012 MSG_GENERATED_PASSWORD_EXPIRED FORBIDDEN Account’s generated passoword is expired
10013 MSG_ACCOUNT_HAS_ONLY_EXPIRED_LICENSES_AND
_INVENTORIES_RELATED
FORBIDDEN Account has expired inventories/licenses
10014 MSG_AUTH_INVALID_CREDENTIALS FORBIDDEN Invalid credentials have been provided on authentication
10015 MSG_AUTH_ACCOUNT_LOCKED FORBIDDEN Account has been locked

Common Error Codes

Error Code Error Message Status Code Description
12000 MSG_COMMON_BAD_REQUEST BAD_REQUEST Request contains inappropriate data
12001 MSG_COMMON_INTERNAL_SERVER_ERROR INTERNAL
_SERVER_ERROR
Internal server error occurred
12002 MSG_COMMON_CONFLICT_VERSION CONFLICT Entity version conflict occurred
12004 MSG_COMMON_EMPTY_VERSION BAD_REQUEST Entity version is empty on update
12005 MSG_COMMON_EMPTY_ID BAD_REQUEST Entity’s id is empty on update/delete
12010 MSG_COMMON_NOT_FOUND_RESOURCE NOT_FOUND Requesting resource was not found
12011 MSG_COMMON_PERMISSION_DENIED FORBIDDEN Use has no permission to perform an action
12013 MSG_COMMON_NOT_EMPTY_ID BAD_REQUEST Entity’s id is not empty on create
12004 MSG_COMMON_NOT_EMPTY_VERSION BAD_REQUEST Entity’s version is not empty on create
12014 MSG_COMMON_BAD_XML_DATA BAD_REQUEST Request contains not valid xml content
12015 MSG_NOT_YET_IMPLEMENTED BAD_REQUEST Endpoint is not implemented
12016 MSG_REQUESTED_LOCALE_IS_NOT_SUPPORTED BAD_REQUEST Provided locale is not supported
12017 MSG_COMMON_NOT_ALLOWED NOT_ALLOWED Action is not allowed
12018 MSG_COMMON_NOT_ACCEPTABLE NOT_ACCEPTABLE Request method is not acceptable
12019 MSG_NOT_ACCEPTABLE_CHARSET_ENCODING BAD_REQUEST Encoding is not acceptable
12020 MSG_TRANSLATIONS_CAN_NOT_BE_LOADED BAD_REQUEST Message translations could not be loaded
12021 MSG_CONVERSION_DICTIONARY_ENTITY_ERROR BAD_REQUEST Dictionary value is invalid
12022 MSG_NOT_VALID_STRING BAD_REQUEST String value does not conform to security validation rules
12023 MSG_NOT_VALID_STRING_FIELD BAD_REQUEST String value did not pass XSS validation
12024 MSG_PAGINATION_PARAMS_PARSING_FAILED BAD_REQUEST Fail to parse pagination parameter
12025 MSG_PAGINATION_PAGE_NUMBER_SHOULD
_NOT_BE_BELOW_ZERO
BAD_REQUEST Page number should be >= 0
12028 MSG_COMMON_UNSUPPORTED_MEDIA_TYPE BAD_REQUEST Reuest media type is unsupported
12027 MSG_PAGINATION_MAX_ALLOWED_PAGE
_SIZE_EXCEEDED
UNSUPPORTED
_MEDIA_TYPE
Max allowed page size has been exceeded

Resume Search Error Codes

Error Code Error Message Status Code Parameter Comment
26000 MSG_RESUME_SEARCH_INVALID
_DATE_FORMAT
BAD_REQUEST date-format Occurs on date format not valid for parsing
26001 MSG_RESUME_SEARCH_INVALID_DATE BAD_REQUEST from-created-date, to-created-date, from-updated-date, to-updated-date Occurs on date which doesn’t correspond to provided date format
26002 MSG_RESUME_SEARCH_INVALID_SORT
_ORDER_PARAMETER
BAD_REQUEST sort-order Occurs on invalid enumeration parameter
26003 MSG_RESUME_SEARCH_INVALID
_RESUME_ID
NOT_FOUND resume-id Occurs on invalid (not active, hidden, etc.) resume id
26004 MSG_RESUME_SEARCH_INVALID
_MATCH_MODE
BAD_REQUEST match-mode Occurs on invalid enumeration parameter
26005 MSG_RESUME_SEARCH_INVALID
_ORDER_BY_PARAMETER
BAD_REQUEST order-by Occurs on invalid enumeration parameter
26006 MSG_RESUME_SEARCH_INVALID
_RETURN_FORMAT
BAD_REQUEST format Occurs on invalid enumeration parameter
26007 MSG_RESUME_SEARCH_INVALID
_TRAVEL_RATE
BAD_REQUEST travel-rate Occurs on invalid enumeration parameter
26008 MSG_RESUME_SEARCH_INVALID
_EMPLOYMENT_TYPE
BAD_REQUEST empl-type Occurs on invalid enumeration parameter
26009 MSG_RESUME_SEARCH
_INVALID_LANGUAGE
BAD_REQUEST language Occurs on invalid enumeration parameter
26010 MSG_RESUME_SEARCH
_INVALID_FLUENCY
BAD_REQUEST language Occurs on invalid enumeration parameter
26011 MSG_RESUME_SEARCH_INVALID
_EDUCATION_LEVEL
BAD_REQUEST education-level Occurs on invalid enumeration parameter
26012 MSG_RESUME_SEARCH_INVALID
_POSITION_TYPE
BAD_REQUEST position Occurs on invalid enumeration parameter
26013 MSG_RESUME_SEARCH_INVALID
_YEARS_EXPERIENCE
BAD_REQUEST work-exp Occurs on invalid enumeration parameter
26014 MSG_RESUME_SEARCH
_INVALID_SECTOR
BAD_REQUEST work-sector Occurs on invalid enumeration parameter
26015 MSG_RESUME_SEARCH
_INVALID_SUBSECTOR
BAD_REQUEST work-sector Occurs on invalid enumeration parameter
26016 MSG_RESUME_SEARCH_INVALID
_LOCATION_NAME
BAD_REQUEST location-name, work-permit-name, loc-or-wtr-name Occurs on invalid location name
26017 MSG_RESUME_SEARCH_INVALID
_LOCATION_ID
BAD_REQUEST location, work-permit, loc-or-wtr Occurs on invalid location id
26018 MSG_RESUME_SEARCH_INVALID
_RADIUS
BAD_REQUEST location, loc-or-wtr Occurs if radius less than 0 and greater than 250
26019 MSG_RESUME_SEARCH_INVALID
_NUMBER_FORMAT
BAD_REQUEST Occurs if invalid number or letter passed to field which accepts numbers only
26020 MSG_RESUME_SEARCH_INVALID
_PARAMETERS_USAGE
BAD_REQUEST Occurs if both location and location name are specified, or location and loc-or-wtr specified simultaneously
26021 MSG_RESUME_SEARCH_INVALID
_LOCATION_NAME_LENGTH
BAD_REQUEST location-name, work-permit-name, loc-or-wtr-name Search by location name should be executed only when at least 2 letters were typed
26022 MSG_RESUME_SEARCH_INVALID
_PAGESIZE_VALUE
BAD_REQUEST page-size Should be valid number greater than 0 and less than 100
26023 MSG_RESUME_SEARCH_INVALID
_PAGE_VALUE
BAD_REQUEST page Should be valid number greater than 0
26024 MSG_RESUME_SEARCH_INVALID
_UPDATED_WITHIN_RANGE
BAD_REQUEST updated-within Occurs on invalid enumeration parameter
26025 MSG_RESUME_SEARCH_INVALID
_LOCATION_FOR_RADIUS_SEARCH
BAD_REQUEST location, loc-or-wtr Occurs if entered location for radius search doesn’t have coordinates
26026 MSG_RESUME_SEARCH_INVALID
_RESUME_REFNO
NOT_FOUND refno Occurs on invalid (not active, hidden, etc.) refno
26027 MSG_RESUME_SEARCH_INVALID
_RESUME_JOBSEEKER
NOT_FOUND job-seeker-id Occurs on invalid (not active, hidden, etc.) job seeker id
26028 MSG_RESUME_SEARCH_ENDECA
_SERVER_UNAVAILABLE
BAD_REQUEST Occurs on Endeca server problems
26029 MSG_RESUME_SEARCH_ENDECA
_SERVER_BAD_PORT
BAD_REQUEST Occurs on Endeca server problems
26030 MSG_RESUME_SEARCH_ENDECA
_INVALID_QUERY
BAD_REQUEST Occurs on Endeca server problems (or ws problems)
26031 MSG_RESUME_SEARCH_TOO_MANY
_SEARCH_VARIANTS
BAD_REQUEST location-name, work-permit-name, loc-or-wtr-name Occurs when number of location found by name exceed 50
26032 MSG_RESUME_SEARCH_JOBSEEKER
_IS_NOT_ACTIVE
BAD_REQUEST job-seeker-id Occurs on invalid (not active, hidden, etc.) job seeker id
26033 MSG_RESUME_SEARCH_RESUME
_IS_NOT_ACTIVE
BAD_REQUEST resume-id Occurs on invalid (not active, hidden, etc.) resume id
26034 MSG_RESUME_SEARCH_RESUME_IS
_NOT_SEARCHABLE
BAD_REQUEST resume-id Occurs on invalid (not active, hidden, etc.) resume id
26035 MSG_RESUME_SEARCH_RESUME
_INVALID_EXACT
BAD_REQUEST exact-location Occurs on invalid enumeration parameter
26036 MSG_RESUME_SEARCH_RESUME
_INVALID_CURRENCY
BAD_REQUEST currency Occurs on invalid enumeration parameter
26037 MSG_RESUME_SEARCH_NO_VALID
_LOCATIONS_PROVIDED
BAD_REQUEST location-name, work-permit-name, loc-or-wtr-name Occurs if no valid location names provided for search (you should provide at least one valid location name)

Resume Full View Error Codes

Error Code Error Message Status Code Comment
29000 MSG_RESUME_FULL_VIEW_USER_HAS_NO_LICENSE BAD_REQUEST Occurs when user has no license
29001 MSG_RESUME_FULL_VIEW_NO_ACTIVE_LICENSE BAD_REQUEST Occurs when user has no active license
29002 MSG_RESUME_FULL_VIEW_ACTIVE_LICENSE_EMPTY
_AMOUNT
BAD_REQUEST Occurs when user’s license has empty amount of views
29003 MSG_RESUME_FULL_VIEW_NO_LICENSE_FOR_CURRENT
_LOCATION
BAD_REQUEST Occurs when user has no license for the location
29005 MSG_RESUME_FULL_VIEW_RESUME_IS_NOT_ACTIVE BAD_REQUEST Occurs if the resume is inactive

Message Send Error Codes

Error Code Error Message Status Code Comment
33000 MSG_MESSAGE_SEND_SENDING_FAILED BAD_REQUEST Message sending failed
33001 MSG_MESSAGE_SEND_EMPTY_RESUME_ID BAD_REQUEST Empty message resume id
33002 MSG_MESSAGE_SEND_EMPTY_MESSAGE_BODY BAD_REQUEST Empty message body
33003 MSG_MESSAGE_SEND_RESUME_NOT_EXISTS BAD_REQUEST Resume does not exist
33004 MSG_MESSAGE_SEND_JOB_SEEKER_UNKNOWN BAD_REQUEST Jobseeker unknown
33005 MSG_MESSAGE_SEND_JOB_SEEKER_UNKNOWN_EMAIL BAD_REQUEST Jobseeker email unknown
33006 MSG_MESSAGE_SEND_RECRUITER_UNKNOWN BAD_REQUEST Recruiter unknown
33007 MSG_MESSAGE_SEND_RECRUITER_UNKNOWN_EMAIL BAD_REQUEST Recruiter email unknown
33008 MSG_MESSAGE_SEND_RESUME_WAS_NOT_VIEWED
_BEFORE
BAD_REQUEST Current resume was not viewed before
33009 MSG_MESSAGE_SEND_EMPTY_MESSAGE_SUBJECT BAD_REQUEST Empty subject
33018 MSG_MESSAGE_SEND_INVALID_EMAIL_ADDRESS
_IN_CC
BAD_REQUEST Invalid email address in Cc field

Our clients include