Appendix 2
Error Codes
note
Error Codes will return once specific reasons are met.
Error Code | Error Description |
---|---|
4 | Error reading language table |
6 | Duplicate Reference |
8 | Missing parameter |
10 | Body contains special character |
11 | Body is not a JSON |
12 | Body is empty |
16 | The referenceId does not exist |
300 | Body is missing sourceInfo |
301 | Body is missing interactionMode |
302 | Body is missing holderFaceVideo |
303 | Body is missing idImage |
304 | Body is missing language |
305 | Body is missing idType |
306 | Body is missing idNo |
307 | Body is missing nationality |
308 | Body is missing fullName |
309 | Body is missing device |
310 | The [sourceInfo => source] field is required |
311 | The [sourceInfo => source] cannot be empty |
312 | The [sourceInfo => source] cannot be more than 16 characters |
313 | The [sourceInfo => source] must be alphanumeric |
314 | The [sourceInfo => reference] field is required |
315 | The [sourceInfo => reference] cannot be empty |
316 | The [sourceInfo => reference] cannot be more than 64 characters |
317 | The [sourceInfo => reference] must be alphanumeric |
318 | The [sourceInfo => apiVersion] field is required |
319 | The [sourceInfo => apiVersion] cannot be empty |
320 | The [sourceInfo => apiVersion] cannot be more than 8 characters |
321 | The [sourceInfo => apiVersion] is invalid |
322 | The [sourceInfo => apiKey] field is required |
323 | The [sourceInfo => apiKey] cannot be empty |
324 | The [sourceInfo => apiKey] cannot be more than 64 characters |
325 | The [sourceInfo => apiKey] must be alphanumeric |
326 | The [sourceInfo => partnerId] field is required |
327 | The [sourceInfo => partnerId] cannot be empty |
328 | The [sourceInfo => partnerId] cannot be more than 128 characters |
329 | The [sourceInfo => partnerId] must be alphanumeric |
330 | The [sourceInfo => userId] field is required |
331 | The [sourceInfo => userId] cannot be empty |
332 | The [sourceInfo => userId] cannot be more than 32 characters |
333 | The [sourceInfo => userId] must be alphanumeric |
334 | The [sourceInfo => userToken] field is required |
335 | The [sourceInfo => userToken] cannot be empty |
336 | The [sourceInfo => userToken] cannot be more than 64 characters |
337 | The [sourceInfo => userToken] must be alphanumeric |
338 | The [sourceInfo => productType] cannot be more than 128 characters |
339 | The [sourceInfo => productType] must be alphanumeric |
340 | The [interactionMode => mode] field is required |
341 | The [interactionMode => mode] cannot be empty |
342 | The [interactionMode => mode] cannot be more than 8 characters |
343 | The [interactionMode => mode] must be SYNC or ASYNC |
344 | The [interactionMode => callbackUrl] field is required |
345 | The [interactionMode => callbackUrl] cannot be empty |
346 | The [interactionMode => callbackUrl] cannot be more than 256 characters |
347 | The [interactionMode => callbackUrl] is invalid |
350 | The [idImage => imageFront] field is required |
351 | The [idImage => imageBack] field is required |
352 | The [idImage => imageFront => contentEncoding] field is required |
353 | The [idImage => imageFront => contentEncoding] cannot be empty |
354 | The [idImage => imageFront => contentEncoding] cannot be more than 16 characters |
355 | The [idImage => imageFront => contentEncoding] is invalid |
356 | The [idImage => imageFront => contentMediaType] field is required |
357 | The [idImage => imageFront => contentMediaType] cannot be empty |
358 | The [idImage => imageFront => contentMediaType] cannot be more than 16 characters |
359 | The [idImage => imageFront => contentMediaType] is invalid |
360 | The [idImage => imageFront => image] field is required |
361 | The [idImage => imageFront => image] cannot be empty |
362 | The [idImage => imageBack => contentEncoding] field is required |
363 | The [idImage => imageBack => contentEncoding] cannot be empty |
364 | The [idImage => imageBack => contentEncoding] cannot be more than 16 characters |
365 | The [idImage => imageBack => contentEncoding] is invalid |
366 | The [idImage => imageBack => contentMediaType] field is required |
367 | The [idImage => imageBack => contentMediaType] cannot be empty |
368 | The [idImage => imageBack => contentMediaType] cannot be more than 16 characters |
369 | The [idImage => imageBack => contentMediaType] is invalid |
370 | The [idImage => imageBack => image] field is required |
397 | The [idImage => imageBack => image] cannot be empty |
372 | The [holderFaceVideo => contentEncoding] field is required |
373 | The [holderFaceVideo => contentEncoding] cannot be empty |
374 | The [holderFaceVideo => contentEncoding] cannot be more than 16 characters |
375 | The [holderFaceVideo => contentEncoding] is invalid |
376 | The [holderFaceVideo => contentMediaType] field is required |
377 | The [holderFaceVideo => contentMediaType] cannot be empty |
378 | The [holderFaceVideo => contentMediaType] cannot be more than 16 characters |
379 | The [holderFaceVideo => contentMediaType] is invalid |
380 | The [holderFaceVideo => video] field is required |
381 | The [holderFaceVideo => video] cannot be empty |
382 | The signature field is required |
383 | The contextInfo field is required |
384 | The [contextInfo => licenseKey] field cannot be empty |
385 | The [contextInfo => licenseKey] field cannot be more than 64 characters |
386 | The [contextInfo => licenseKey] field must be alphanumeric |
387 | The [contextInfo => licenseKey] field is required |
388 | The ctxSourceInfo field is required |
389 | The ctxDateTime field is required |
390 | The purpose field is required |
391 | The ctxDateTime field cannot be empty |
392 | The ctxDateTime field cannot be more than 32 characters |
393 | The ctxDateTime field must be numeric |
394 | The purpose field cannot be empty |
395 | The purpose field cannot be more than 128 characters |
396 | The purpose field must be alphabets |
510 | The language field cannot be more than 2 characters (ISO 639-1) |
511 | The language field only accepts alphabets |
512 | The idType field cannot be empty |
513 | The idType field cannot be more than 32 characters |
514 | The idType field must be PASSPORT or MYKAD |
515 | The idNo field cannot be empty |
516 | The idNo field cannot be more than 32 characters |
517 | The idNo field only accepts alphanumeric |
518 | The nationality field cannot be empty |
519 | The nationality field cannot be more than 2 characters |
520 | The nationality field only accepts alphabets |
521 | The fullName field cannot be empty |
522 | The fullName field cannot be more than 128 characters |
523 | The fullName field only accepts alphabets |
524 | The referenceId field is required |
525 | The referenceId field cannot be empty |
526 | The referenceId field cannot be more than 32 characters |
527 | The referenceId field only accepts alphanumeric |
528 | The aivRefId field is required |
529 | The aivRefId field cannot be empty |
530 | The aivRefId field cannot be more than 32 characters |
531 | The aivRefId field only accepts alphanumeric |
532 | The [device => imei] field is required |
533 | The [device => imei] cannot be empty |
534 | The [device => imei] cannot be more than 32 characters |
535 | The [device => imei] must be numeric |
536 | The [device => mac] field is required |
537 | The [device => mac] cannot be empty |
538 | The [device => mac] cannot be more than 32 characters |
539 | The [device => mac] must be alphanumeric |
540 | The [device => brand] field is required |
542 | The [device => brand] cannot be empty |
543 | The [device => brand] cannot be more than 64 characters |
544 | The [device => brand] must be alphanumeric |
545 | The [device => model] field is required |
546 | The [device => model] cannot be empty |
547 | The [device => model] cannot be more than 64 characters |
548 | The [device => model] must be alphanumeric |
778 | The value for [sourceInfo => apiKey] has expired |
780 | The value for [sourceInfo => apiKey] does not exist |
781 | The value for [sourceInfo => apiKey] has been deactivated |
782 | The value for [sourceInfo => productType] cannot be more than 128 characters |
783 | The value for [sourceInfo => productType] must be alphanumeric |
784 | Body is missing mobileNo |
785 | The mobileNo field cannot be empty |
786 | The mobileNo field cannot be more than 16 characters |
787 | The mobileNo field must be numeric |
788 | Body is missing address |
789 | The [address => addrLine1] is required |
790 | The [address => addrLine1] cannot be empty |
791 | The [address => addrLine1] cannot be more than 256 characters |
792 | The value is not in the correct format |
793 | The [address => addrLine2] cannot be more than 256 characters |
794 | The [address => addrLine3] cannot be more than 256 characters |
795 | The [address => city] is required |
796 | The [address => city] cannot be empty |
797 | The [address => city] cannot be more than 128 characters |
798 | The [address => state] cannot be empty |
799 | The [address => state] cannot be more than 16 characters |
800 | The [address => state] is required |
801 | postReqRef is missing |
802 | Insert data to database failed |
803 | Login validation failed |
805 | Login unsuccessful |
807 | Invalid source |
809 | Body is missing docData |
810 | The [address => postcode] is required |
811 | The [address => postcode] cannot be empty |
812 | The [address => postcode] cannot be more than 16 characters |
813 | The [address => postcode] must be numeric |
814 | The [docData => contentMediaType] is required |
815 | The [docData => contentMediaType] cannot be empty |
816 | The [docData => contentMediaType] cannot be more than 16 characters |
817 | The [docData => contentMediaType] is invalid |
819 | Error occurred internally |
820 | The [docData => contentEncoding] is required |
821 | The [docData => contentEncoding] cannot be empty |
822 | The [docData => contentEncoding] cannot be more than 16 characters |
823 | The [docData => contentEncoding] is invalid |
824 | The [docData => document] is required |
825 | The [docData => document] cannot be empty |
827 | The value is invalid |
828 | The [docData => docType] cannot be more than 128 characters |
829 | The [docData => docType] must be alphanumeric |
830 | The [docData => docOrg] cannot be more than 128 characters |
831 | The [docData => docOrg] must be alphanumeric |
832 | The value for [idImage => imageFront => contentEncoding] must be base64 |
833 | The value for [idImage => imageFront => contentMediaType] must be image/jpeg |
834 | The value for [idImage => imageBack => contentEncoding] must be base64 |
835 | The value for [idImage => imageBack => contentMediaType] must be image/jpeg |
846 | Image has an invalid Base64 |
860 | Invalid apiVersion |
862 | Invalid interactionMode |
863 | Your service is deactivated |
864 | Error with request body |
865 | Source has been deactivated |
867 | Source and partnerId do not match |
869 | Error connecting to AIV |
899 | The [sourceInfo] field consist of special characters |
900 | postReqRef is invalid |
901 | Decision has already been made for this postReqRef |