DWilliames / google-sheets-sync-figma

80 stars 8 forks source link

Sync fails with error: cannot read property 'length' of undefined #182

Open jpwain opened 1 year ago

jpwain commented 1 year ago

Describe the bug

Fetch data from Sheets works, but the Sync stage fails, returning this error:

Error: cannot read property 'length' of undefined

CleanShot 2023-07-13 at 10 02 56

To Reproduce

Select a frame that contains a child which contains many correctly-name text objects, e.g. #x_type.r, #x_owner.r, run the plugin, choose Fetch & Sync.

Expected behavior

Objects should populate with random values from the sheet.

Additional context

Fetch works: I can preview the data from the sheet... But then sync fails.