InteractiveAdvertisingBureau / iabtcf

Apache License 2.0
14 stars 19 forks source link

Uncaught (in promise) GVLError: Cannot convert undefined or null to object #15

Closed adityamishraofficial closed 4 years ago

adityamishraofficial commented 4 years ago

Uncaught (in promise) GVLError: Cannot convert undefined or null to object

Screenshot 2020-07-17 at 1 01 38 PM
 GVL.baseUrl = 'http://localhost:3000/';
        const tcModel = new TCModel(new GVL());
        tcModel.gvl.readyPromise.then(() => {
            const encodedString = TCString.encode(tcModel);
            console.log(encodedString); // TC string encoded begins with 'C'
        });

And now My vendor file name is vendor-list.json

adityamishraofficial commented 4 years ago

vendor-list was wrong,