A support ticket at support.sangoma.com is probably your best option for figuring this out.
Usually when there are problems using QR codes, it’s because of using an IP address or invalid hostname for accessing the UCP. The browser is much less picky about certificates than mobile clients, especially Android. But the error in those cases should specifically be about the certificate issue and not the generic “invalid QR code” error.
You’ll also see this error if the QR code has expired. QR codes are temporary tokens and only good for one hour; a permanent token is generated during the login process.