{
"api_response": {
"result_code": "${RETURN_CODE}", // 'E403' | 'WA001' | 'E404'
"result_message": "${RESULT_MESSAGE}",
},
"result": "failed",
}
✔️ 카메라 권한 이슈 : 카메라 권한이 허용되지 않아 OCR 진행 불가 케이스
"result_code" : "E403", // Literal
"result_message": "Camera Access Permission is not allowed" // Literal
✔️ 카메라 권한은 있으나 다른 앱등에서 사용중으로 리소스를 가져올 수 없을 때
"result_code" : "E403", // Literal
"result_message" : "Camera permissions were granted, but Failed to acquire Camera resources." // Literal
✔️ 기기에 연결된 카메라가 없는 경우
"result_code": "E404", // Literal
"result_message": "Camera Not Found" // Literal
✔️ Wasm 이슈 : (라이선스 키, 지원하지 않는 브라우저 등)
"result_code" : "WA001", // Literal
"result_message": "Card detection error: ${상세메시지}" // Template Literal
✔️ Wasm 이슈 : “WA001”
상세 메시지(Template Literal) 종류
'License key is empty' | 라이선스 키가 비어있습니다. |
---|---|
'Wrong License Key' | 잘못된 라이선스 키 입니다. |
'Not initialized!' | 초기화되지 않았습니다. |
'ocrResult is empty' | OCR 결과가 비어있습니다. |
'Unsupported OCR type' | 지원하지 않는 OCR 타입입니다. |
'ocr div element is not exist' | OCR div 요소가 존재하지 않습니다. |
'WebAssembly is not supported. in this browser.' | 이 브라우저에서는 WebAssembly를 지원하지 않습니다. |
'Credit card is not Unsupported Server OCR' | 서버 OCR에서는 신용카드를 지원하지 않습니다. |
'ResultParser :: Unsupported OCR type' | ResultParser :: 지원되지 않는 OCR 타입입니다. |
'SSA Mode is true. but, ocrType is invalid : ${ocrType}' | SSA 모드가 활성화되어 있지만, ocrType이 유효하지 않습니다. ${ocrType} -idcard, passport, alien, credit |
'[ERR] SSA MODE is true. but, ssaResult is null' | SSA 모드가 활성화되어 있지만, ssaResult가 null입니다. |
'navigator.mediaDevices is not supported' | navigator.mediaDevices가 지원되지 않습니다. |
'Scanner does not exists' | 스캐너가 존재하지 않습니다. |