BlinkID / blinkid-in-browser

BlinkID In-browser SDK for WebAssembly-enabled browsers.
https://microblink.com/blinkid
58 stars 30 forks source link

Server permission payload is corrupted! #114

Closed mircogrosch closed 10 months ago

mircogrosch commented 10 months ago

Hi, I have the following issue. By starting the sdk with a correct licence and add engineLocation. I get error with the following message "Server permission payload is corrupted! "

` if (!BlinkIDSDK.current.isBrowserSupported()) { setStep(validationStep.ERROR); return; }

    const licenseKey = process.env.NEXT_PUBLIC_LICENCE_MICROBLINK;

    const loadSettings = new BlinkIDSDK.current.WasmSDKLoadSettings(
        licenseKey
    );

     loadSettings.engineLocation = window.location.origin + "/resources";

    BlinkIDSDK.current.loadWasmModule(loadSettings).then(
        (sdkInstance) => {
            startScan(sdkInstance);
        },
        (error) => {
            setStep(validationStep.ERROR);
            console.error("Error SDK!", error);
        }
    );

`

Applying React/Next js

AngTim commented 10 months ago

The case was continued via the support ticket

batheleuz commented 10 months ago

Hello I am having the same issue.

Please can you help ?

mircogrosch commented 10 months ago

Hi, please contact support. They helped me solve the problem (support@microblink.com)

AngTim commented 10 months ago

Hi Batheleuz,

as @mircogrosch mentioned, please contact us at support@microblink.com) and please let us know the license number you are using in the e-mail so we can assist you with the issue further.

Kind regards, Angelo Microblink LTD