- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 27, 2022 01:26 PM
We’ve got several automations running that hit API’s and update records.
Often times they run fine. Other times, they fail with this error:
ERROR
Error: Isolate is disposed
on line 1
Line one is updateArray.
This is the array:
let updateObject = {};
updateObject[“id”] = record.id;
updateObject[“fields”] = {};
updateObject[“fields”][“price”] = Number(data.market_data.current_price.usd);
updateObject[“fields”][“price_ATH”] = Number(data.market_data.ath.usd);
updateObject[“fields”][“date_ATH”] = String(data.market_data.ath_date.usd);
updateObject[“fields”][“price_date”] = new Date();
updateArray.push(updateObject);
What does the error mean??
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 29, 2022 09:23 AM
I believe this is a memory-related error in the V8 javascript engine. It would be impossible to debug this and identify the true cause without full awareness of the source code.
My sense is you are creating some sort of race condition that is stepping on the toes of other array objects.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 31, 2022 07:34 AM
Getting the same issue too intermittently on a script that has had no problems for months with 3-400 runs a day.