Irys-xyz / provenance-toolkit

A collection of UI components to help kickstart your next project
https://provenance-toolkit.irys.xyz
12 stars 9 forks source link

error at the encryptFileAndZipWithMetadata - "Invalid params: string is undefined" #6

Open aymenx17 opened 8 months ago

aymenx17 commented 8 months ago

I get an error on this line:

const res = await LitJsSdk.encryptFileAndZipWithMetadata({ unifiedAccessControlConditions: conditions, authSig, chain: 'ethereum', file, litNodeClient: client, readme, });

Error: { message: "Invalid params: string is undefined", errorCode: "InvalidParamType", errorKind: "Validation", status: undefined, details: undefined, }