arbisyarifudin / wwebjs-aws-s3

A remote authentication plugin for whatsapp-web.js. Use the AWS S3 to keep your WhatsApp MultiDevice session data safe and secure.
MIT License
3 stars 4 forks source link

Cant extract instance clients #4

Closed fpiantoni closed 8 months ago

fpiantoni commented 8 months ago

While accesing the extract function, i am getting the following error:

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined

I have added some logs to see the value of the session passed and the type of the remotePath variable and i get the correct values

2024-02-07T22:36:30.831Z [STORE_DEBUG] /RemoteAuth-a5eac9c5-5b51-4f02-9bcf-439e0bd59cc1 2024-02-07T22:36:30.831Z [STORE_DEBUG] string

I am trying to understand what is happening.