Apify Discord Mirror

Updated 5 months ago

Dataset storage is returning empty result

At a glance

The community member created an actor, but the result is always empty after each run. Another community member asked for more details, such as the code used to store data to the dataset and the runId. The original poster then replied that they were able to fix the issue by using the Dataset.exportToJson() method instead of Actor.init().

Hi, I created an actor and after ever run, the result is always empty, what do I need to do to ensure I can get the result on my apify console.
Attachment
Screenshot_20230423-163352_Chrome.jpg
P
L
2 comments
Hello ,
may you share the a part of code which you are using to store data to dataset? May you provide us with the runId (You can send it to me to PM)? Do you call Actor.init() at least once before you store the information to the dataset?
Hi , I was able to fix it, though I did not use Actor.init()

I used Dataset.exportToJson() method
Add a reply
Sign up and join the conversation on Discord