Skip to main content
Question

`importComponentByKeyAsync` fails with published component key

  • December 22, 2021
  • 2 replies
  • 1134 views

zeyap

Calling figma.importComponentByKeyAsync() with the same component key fails for some files within our org, while I’m sure the component library is published to all of the org, and I cannot repro with same key in my own file. Wonder if this could be a bug.

While I don’t have access to the files with the issue, would be curious what are the circumstances importComponentByKeyAsync can fail? For example, do we need to manually enable the component library in a file, to import those components by key?

2 replies

maccy
  • 1 reply
  • April 27, 2022

I’m experiencing the same issue


jordynass
  • 2 replies
  • September 15, 2022

I’m seeing this too. It seems to resolve after a while but it doesn’t seem to coincide with reloading.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings