Irys-xyz/provenance-toolkit

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

aymenx17 opened this issue · 0 comments

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,
}