DWilliames / google-sheets-sync-figma

80 stars 8 forks source link

Error Fetching Images #143

Open DillonVitaFinzi opened 1 year ago

DillonVitaFinzi commented 1 year ago

Describe the bug Prior to today (11.28.22) the plugin was able to fetch images pretty easily. But this morning the plugin is throwing a "Error Fetching Images" alert where images should be. Nothing has been changed in my Figma File or Google Sheet. Copy based updates are still running properly. Error just started this morning for me.

To Reproduce Have a column dedicated to image links in Google Sheets, and run the plugin in Figma.

Expected behavior I would expect the image to be pulled into the figma file. Instead it is leaving an "Error Fetching Image" notification where the image would be.

Additional context

Screen Shot 2022-11-28 at 11 36 19 AM Screen Shot 2022-11-28 at 11 38 27 AM
djpecot commented 1 year ago

Same issue here. Worked great the first time, stopped after coming back after a few days. Tried hard reload in Figma, no dice.

TBat commented 1 year ago

I was having the same issue. From my Drive I was using Right Click > Crtl+C and pasting those links into my spreadsheet. This gives the "drive copy" URL: https://drive.google.com/open?id=[IMAGE ID]&usp=drive_copy, which led to the "fetching image" error.

I got it to work by using the "sharing" URL (Right Click > Get Link > Copy Link) and putting that in my spreadsheet. Here's the correct format: https://drive.google.com/file/d/[IMAGE ID]/view?usp=share_link

Hope this works for you too!

TBat commented 1 year ago

Welp, spoke to soon. It was working perfectly until I tried to sync it again (with the same URLs in my spreadsheet that were working properly just now), and I'm back to the "fetching image" error