Dataset FIELDS attribute
# apify-platform
j
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!
Copy code
⌛ ... 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!
h
Someone will reply to you shortly. In the meantime, this might help:
l
Can you share an ID of the dataset? That looks like a bug if you indeed have non-empty items
j
the datasets has gone 😓 but It happens less often now