L3-iGrant / PyDIVOC

Python library for decoding and verifying the [COWIN Covid19 Credentials for India](https://www.cowin.gov.in/) from [DIVOC](https://divoc.egov.org.in/)
Apache License 2.0
1 stars 0 forks source link

Index Error when scanning QR Code #1

Closed sikaili99 closed 2 years ago

sikaili99 commented 2 years ago

I am getting an error when I try to scan a qr code sample provided here or anyother DIVOC qr code.

ivoc_covid19_qr
    qr_bytes = results[0].data
IndexError: list index out of range

If possible can you provide a sample QR for testing, it can be great. Thank

georgepadayatti commented 2 years ago

@Mathewsmusukuma The QR code provided by LFPH is invalid. To obtain a sample QR code, you can follow the steps provided here - https://divoc.digit.org/divoc-demo/citizen-portal