Getting an error when I try to have Pinterest pins automatically posted to BlueSky.
I want the text to be “1. Description” ”1. Link”, but I get the error:
Function ‘parseRecord’ finished with error! Cannot read properties of undefined (reading ‘map’)
Any ideas?
Hey there,
can you show screenshots of the current module configuration and the input it is receiving?
Here’s what it looks like. I know there’s a similar issue with Instagram
Here’s a shot when I do Instagram first. Facebook Pages works just fine when I put it first.
Ok but what is mapped in the module?
Hey there!
This error means you’re trying to use .map() on a variable that’s undefined (likely expecting an array but getting nothing).
Common causes:
- Empty or missing data from previous module - Check if the module before
parseRecord is returning data
- Incorrect variable mapping - You might be referencing a field that doesn’t exist
- API returned null/undefined - The data source might not have the expected structure
How to fix:
- Add a Filter before the parseRecord function to check if the data exists
- Use optional chaining or add a fallback:
const items = yourVariable || [];
items.map(item => ...)
- Add error handling:
if (!yourVariable || !Array.isArray(yourVariable)) {
console.log("No data to process");
return [];
}
yourVariable.map(item => ...)
Can you share a screenshot of the parseRecord function? That would help me pinpoint the exact issue.
Sam @ Flow Digital
Ok,so today I log in and it says my pinterest isnt even there and all three of my other pages are referenceing a nonexistant ‘1’. I reathoritze every service I have on Make and still no luck. IT seems every time I log into this site I have to rebuild and reconenct everything
Where would the pareseRecord function be? I dont see it anywhere in the scenario