REST Error Codes

Introduction

This document contains all REST error codes for the Athr-server, Process Manager, and User Data servers.

Common Error Codes

CodeDescription
1An unexpected error occurred.
7Access to this service is denied.
264A permission contains an unrecognized type.
CodeDescription
220The JWT could not be parsed.
221The JWT has no header.
222The JWT has no kid in the header.
223The JWT has no alg in the header.
224The JWT has no body.
225The JWT issuer is not valid - jwt is not issued by Sky.
226The JWT owner is not valid - jwt is not issued for person with id %s.
CodeDescription
271A JWT API Key failed validation.
273A JWT API Key could not be decompressed.
274A JWT was not correctly constructed.
275A JWT claim value is not of the required type.
276A JWT signature failed to validate.
277A JWT was not in the expected configuration / format.
278A JWT claim could not be validated.
279The JWT has expired.
280A JWT is not yet valid.
281A JWT has an incorrect claim value.
282A JWT has a missing claim.

General Error Codes

Athr-server Error Codes

CodeDescription
1An unexpected error occurred.
7Access to this service is denied.
CodeDescription
130The specified API Key could not be found.
131An API Key with that name already exists.
133An API Key was found with the specified ID - but the codes don't match!
134An API Key was found with the specified ID - but it is not valid!
145The API Key header, X-API-Key, has not been set.
146The API Key header, X-AccessToken, must be of the format key.code.
CodeDescription
250The response type is invalid!

Process Manager Error Codes

CodeDescription
1An unexpected error occurred.
7Access to this service is denied.
9The API request contains invalid data in one of the input fields: %s
10The API request is invalid. The following constraints have been violated: %s
CodeDescription
100The specified tenant could not be found.
101The specified tenant already exists.
102The tenant domain cannot be created as its domain string is empty or null.
103Cannot create the tenant domain. The domain string does not contain two regions.
110The specified process definition could not be found.
111A process definition with the same name already exists.
112The status of the process definition cannot be changed from EDITABLE to RETIRED.
113The status of the process definition cannot be changed to EDITABLE.
114The status of the process definition cannot be changed from RETIRED.
115The process definition cannot be changed as it has been deployed.
116The process definition name cannot be changed.
117The process definition version cannot be changed.
118The process definition status cannot be changed except during a deploy operation.
119No active process definition with the provided name and version can be found.
149The process definition type cannot be changed.
CodeDescription
120The specified process token could not be found.
121A process token with the same name already exists.
122The process token cannot be used as it is inactive.
123The process token cannot be used as it has reached its max use limit.
124The process token cannot be used as it not within its specified time window.
125The process token max count field must be provided and the value greater than 0.
126The process token not after field must be provided and in the future.
126The Not After value must be no longer than 1 year after Not Before value.
127The process token not before field must be provided and before the not after field.
128The parameters associated with a process token may only be Strings, Booleans or Numbers.
129The maximum process duration associated with the process token must be less than the maximum duration: %s.
CodeDescription
130The specified process instance could not be found.
131The process instance has been completed - it cannot be updated.
132The status of the process instance cannot change from active to pending.
133The process instance cannot be updated as its status is not active or pending.
CodeDescription
134The process instance cannot be deleted as its status is active or pending.
CodeDescription
148The received bpmn file was invalid. %s
CodeDescription
160The specified script could not be found.
161A script with the same name already exists.
162The status of the script cannot be changed from EDITABLE to RETIRED.
163The status of the script cannot be changed to EDITABLE.
164The status of the script cannot be changed from RETIRED.
165The script cannot be changed as it has been deployed.
166The script name cannot be changed.
167The script version cannot be changed.
168The script status cannot be changed except during a deploy operation.
169No active script with the provided name and version can be found.
170An unexpected error occurred while attempting to test the script.
CodeDescription
180The specified function could not be found.
181A function with the same name already exists.
182The status of the function cannot be changed from EDITABLE to RETIRED.
183The status of the function cannot be changed to EDITABLE.
184The status of the function cannot be changed from RETIRED.
185The function cannot be changed as it has been deployed..
186The function name cannot be changed.
187The function version cannot be changed.
188The function status cannot be changed except during a deploy operation.
189The function type cannot be changed.
190No active function with the provided name and version can be found.
191An unexpected error occurred while attempting to test the function.
192The cloud function cannot be deleted - this is the latest version, a new version should be added before deleting this one.
CodeDescription
193The specified form could not be found.
194The custom data form cannot be deleted - this is the latest version, a new version should be added before deleting this one.
195A custom data form with the same name already exists..
196The custom data form cannot be changed as it has been deployed.
197The custom data form name cannot be changed.
198The custom data form version cannot be changed.
199The custom data form status cannot be changed except during a deploy operation.
CodeDescription
210The requested process definition template could not be found.
211Access to process definition template is forbidden.
212The API request contains invalid data in one of the input fields: %s Error: must not be blank.
CodeDescription
213Cannot find activity definition by skyid.
214Additional docs version not supported.
CodeDescription
11000The process definition cannot be deleted - there are process tokens using the process definition.
11001The process definition cannot be deleted - there are process instances using the process definition.
11002The bpmn file of the process definition does not exist.
11003The process definition cannot be deleted - this is the latest version, a new version should be added before deleting this one.

Processing Server Error Codes

CodeDescription
1An unexpected error occurred. Please see the log files.
2We could not process your document, please try again.
3We could not process your face image, please try again.
4We could not process your application, please try again.
CodeDescription
101An unexpected error occurred. Please see the log files.
102We could not process your document, please try again.
103We could not process your face image, please try again.
104We could not process your application, please try again.
105A process instance with this ID is already running.
106Unauthorized request. Invalid JWT.
120Error while trying to check face liveness.
121Exceeded number of total retries.
122An unexpected error occurred while generating face template.
123An exception was thrown while generating pre signed url.
124An exception occurred while checking document quality.
126Black&White copy detection has failed.
127Color copy detection has failed.
128Photo sub detection has failed.
CodeDescription
129An exception occurred while processing document for OCR.
130The doc key does not exist.
CodeDescription
131Exceeded number of total retries.
130The doc key does not exist.
132Exceeded number of total retries.
133Exceeded number of total retries.
134An error occurred while checking document quality.
CodeDescription
135An error occurred while checking document liveness.
136An exception occurred while checking document liveness.
CodeDescription
137The face key does not exist.
138Error while trying to detect B&W copy.
139An exception occurred while calling color copy detection service.
140Error while trying to detect Photo substitution.
141No valid images were present for document processing.
142Exceeded number of total retries.
143An exception occurred while processing document for OCR.
144Error while trying to detect Photo substitution.
145No valid images were present for document processing.
146Exceeded number of total retries.
148Exceeded number of total retries.
149Response from document quality service is not valid.
CodeDescription
150Failed to get cloud function from process manager.
151Error while trying to invoke rule.
152Error while trying to invoke rule.
CodeDescription
160Document was not accepted as being valid.
161Exceeded number of total retries.
162Failed to get cloud secret from process manager.
163Failed to post process instance redirect status to process-manager.
164Failed to deserialize additional docs JSON.
CodeDescription
170An error occurred while checking screen replay.
171An exception occurred while checking screen replay.
172Exceeded number of total retries.
173Screen Replay detected.
174It appears that this image is captured from a screen. Please capture a live document image.
CodeDescription
180Exceeded number of total retries.
181Doc Processing Fail.
CodeDescription
190Failed to read barcode from the document.
191Failed to read OCR data from the document.
192Coviva validation failed.
193Failed to find the face on the document.
194Document support decision failed.
195Document data mapping failed.
196Document data consolidation failed.
197Regula processing failed.
198Document number validation failed.
CodeDescription
210Too many activity execution happened in one process instance.
212The API request contains invalid data in one of the input fields: %s Error: must not be blank.
CodeDescription
220The form key does not exist.
221An exception was thrown while trying to send custom data form to client.
222Failed to get data form from process manager.
CodeDescription
250Error while trying to perform AAMVA verification.
251AAMVA Verification service not available.
CodeDescription
252Email address is invalid.
253Phone number is invalid.
CodeDescription
300Could not recognize and read the document.
CodeDescription
915We are unable to read your document's barcode, please recapture the back of your ID.

User Data Error Codes

CodeDescription
1An unexpected error occurred.
9The API request contains invalid data in one of the input fields: %s
200The API due to the failure of a downstream service: %s
130The specified process instance could not be found.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard