!!!Joefree!!! 👑!
Apify & Crawlee14mo ago
3 replies
!!!Joefree!!! 👑

Dataset FIELDS attribute

I have an integration actor that relies on the FIELDS attributes from the input dataset (payload). I retrieve this data by pulling from the API https://api.apify.com/v2/datasets/{dataset_id}, but it seems that the FIELDS attributes are not populated immediately. Even after looping up to 20 times with a 5-second interval, sometimes they still aren't populated. Am I missing something, or is there a better way to handle this? Any feedback would be really appreciated. Thank you!

⌛ ... pending #1 (158 rows, 0 fields)
⌛ ... pending #2 (158 rows, 0 fields)
⌛ ... pending #3 (158 rows, 0 fields)
⌛ ... pending #4 (158 rows, 0 fields)
⌛ ... pending #5 (158 rows, 0 fields)
⌛ ... pending #6 (158 rows, 0 fields)
⌛ ... pending #7 (158 rows, 0 fields)
⌛ ... pending #8 (158 rows, 0 fields)
⌛ ... pending #9 (158 rows, 0 fields)
⌛ ... pending #10 (158 rows, 0 fields)
⌛ ... pending #11 (158 rows, 0 fields)
⌛ ... pending #12 (158 rows, 0 fields)
⌛ ... pending #13 (158 rows, 0 fields)
⌛ ... pending #14 (158 rows, 0 fields)
⌛ ... pending #15 (158 rows, 0 fields)
⌛ ... pending #16 (158 rows, 0 fields)
⌛ ... pending #17 (158 rows, 0 fields)
⌛ ... pending #18 (158 rows, 0 fields)
⌛ ... pending #19 (158 rows, 0 fields)
⌛ ... pending #20 (158 rows, 0 fields)
❌ Error: Dataset EMPTY or COLUMNS unavailable!
Was this page helpful?