Error: FingerprintSwitcher key is missing

Support
  • const fingerprint = await plugin.fetch('ILMdPyqsJxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxJQzr', {
        tags: ['Microsoft Windows', 'Chrome'],
        minWidth: 1920
    });
    
    E:\interiaemails\src\zalandoConfirmEmail2\node_modules\browser-with-fingerprints\src\plugin\connector\index.js:40
          if (error) throw new Error(error);
                           ^
    Error: FingerprintSwitcher key is missing
        at E:\interiaemails\src\zalandoConfirmEmail2\node_modules\browser-with-fingerprints\src\plugin\connector\index.js:40:24
    

    why do I get this error, I purchased the key for 3 months?

    "puppeteer-with-fingerprints": "^1.5.4"
    Node.js v20.13.1

  • https://github.com/CheshireCaat/browser-with-fingerprints?tab=readme-ov-file#fingerprint-usage

    Warning: according to the latest engine and service updates, now it's also necessary to specify the service key for applying the fingerprint. The key must match the one with which the fingerprint was obtained - it can only be omitted if the free version was used (an empty string for the key).

    I.e, you should pass the key for the spawn and launch methods:

    await plugin.launch({ key: 'SERVICE_KEY' });
    
  • @Oyasumi-Punpun thanks for the reply but i still have the same error :(

    ```
    

    const SERVICE_KEY = 'ILMdPyqsJtIIF...........................................................................Y1EJQzr';

    console.log("Fingerprint 1");
    const fingerprint = await plugin.fetch(SERVICE_KEY, {
        tags: ['Microsoft Windows'],
        minWidth: 1920
    });
    
    await plugin.launch({ key: SERVICE_KEY });
    plugin.useFingerprint(fingerprint);
    
    const browser = await plugin.launch({
        // executablePath: '/usr/bin/google-chrome',
        headless: false,//'new',
        devtools: false,
        args: browserArgs,
        timeout: 15000
    });
    
  • const fingerprint = await plugin.fetch(SERVICE_KEY, {
        tags: ['Microsoft Windows'],
        minWidth: 1920
    });
    
    plugin.useFingerprint(fingerprint);
    
    const browser = await plugin.launch({
        // executablePath: '/usr/bin/google-chrome',
        headless: false,//'new',
        devtools: false,
        args: browserArgs,
        timeout: 15000,
        key: SERVICE_KEY,
    });