Community forum for knowledge and support

Updated 9 months ago

Unable To Copy/paste Svg Icons From Figma To Webflow

At a glance

A community member is unable to copy/paste SVG icons from Figma into Webflow using the Chrome extension, and is receiving a ZodError in the console. They have tried reinstalling the extension, but the issue persists. The community member also mentions an issue with the "Update spacing strategy" automation. Another community member has passed the issue onto the engineers and suggests trying the automation on a different page to see if the same error occurs.

Hey all, I've been unable to copy/paste SVG icons into Webflow from Figma via the Chrome extension for a couple of days now. I get the attached error in console:

Relume: error during svg paste ZodError: [
  {
    "code": "invalid_union",
    "unionErrors": [
      {
        "issues": [
          {
            "code": "invalid_union_discriminator",
            "options": [
              "arrow",
              "nav",
              "slide",
              "Slider",
              "slides",
              "wrapper"
            ],
            "path": [
              "domNodes",
              37,
              "data",
              "slider",
              "type"
            ],
            "message": "Invalid discriminator value. Expected 'arrow' | 'nav' | 'slide' | 'Slider' | 'slides' | 'wrapper'"
          }
        ],
        "name": "ZodError"
      },
      {
        "issues": [
          {
            "code": "invalid_literal",
            "expected": true,
            "path": [
              "domNodes",
              37,
              "text"
            ],
            "message": "Invalid literal value, expected true"
          },
          {
            "code": "invalid_type",
            "expected": "string",
            "received": "undefined",
            "path": [
              "domNodes",
              37,
              "v"
            ],
            "message": "Required"
          }
        ],
        "name": "ZodError"
      }
    ],
    "path": [
      "domNodes",
      37
    ],
    "message": "Invalid input"
  },
  {
    "code": "invalid_union",
    "unionErrors": [
      {
        "issues": [
          {
            "code": "invalid_union_discriminator",
            "options": [
              "arrow",
              "nav",
              "slide",
              "Slider",
              "slides",
              "wrapper"
            ],
            "path": [
              "domNodes",
              39,
              "data",
              "slider",
              "type"
            ],
            "message": "Invalid discriminator value. Expected 'arrow' | 'nav' | 'slide' | 'Slider' | 'slides' | 'wrapper'"
          }
        ],
        "name": "ZodError"
      },
      {
        "issues": [
          {
            "code": "invalid_literal",
            "expected": true,
            "path": [
              "domNodes",
              39,
              "text"
            ],
            "message": "Invalid literal value, expected true"
          },
          {
            "code": "invalid_type",
            "expected": "string",
            "received": "undefined",
            "path": [
              "domNodes",
              39,
              "v"
            ],
            "message": "Required"
          }
        ],
        "name": "ZodError"
      }
    ],
    "path": [
      "domNodes",
      39
    ],
    "message": "Invalid input"
  }
]
I have tried reinstalling the extension, no fix. Also noticing that the Update spacing strategy automation is showing an error as well:

M
1 comment

I've passed this onto our engineers.

For the spacing strategy, can you try running that automation on a different page and letting me know if you see the same error? Thanks

Add a reply
Sign up and join the conversation on Slack