I have an integration actor that relies on the 1FIELDS1 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!