ripe-grayR
Apify & Crawlee4y ago
1 reply
ripe-gray

Dataset.pushData()

I am trying to push 2 separate datasets into (2 seperate folders); first is just ids, the second is the whole object with all the data.

After running, it creates a
_ crawlee_temporary_0_

folder with only the second set inside and I also get an error saying

 ENOENT: no such file or directory, storage/dataset/default/00000022.json


but i think it doesn't get that path because it created the
_ crawlee_temporary_0_
folder

I am inside a forEach() with
await Dataset.pushData({ id: it.id });
await Dataset.pushData(it);

Why is it not working properly? what am i missing/doing wrong?
Was this page helpful?