> For the complete documentation index, see [llms.txt](https://api2-ekycapis.innov8tif.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api2-ekycapis.innov8tif.com/okaycam-mobile-sdk/okaycam-plus-mobile-sdk/okaycam-plus-react-native/error-handling-for-document-and-face-capture.md).

# Error Handling for Document and Face Capture

## Error Codes

| Error                    | Description                                                              |
| ------------------------ | ------------------------------------------------------------------------ |
| invalid license          | The license is invalid                                                   |
| camera permission denied | The use did not grant the permission to access camera in order to do OCR |
| cancel                   | The user canceled during the scanning process                            |
