Umit
Umit2mo ago

Key-Value-Store Issue

Does anyone know how to use writeStream to save files into key-value-store? It seems that it does work, however file do not show up when running on the Apify platform? Also, saving the files usually with await <kvs>.setValue('<file-key-here>,<Buffer>,<content-type>) ; Errors saying that the data JSON.stringify() returned undefined This is despite the data being checked before it was passed on like so: let data = JSON.stringify(body) if(data){ await setValue(<key>, body , content-type.type } Any suggestions?
1 Reply
Umit
UmitOP2mo ago
I have a question regarding using the file system on Apify while the Actor is running. When writing files, it seems that nothing is being saved. No folder or files which were written are actually there, and I am left confused. Is this normal, or am I missing something? Is the file system able to be written to and read from, or are we only supposed to use Apify API only?

Did you find this page helpful?