Skip to main content
Solved

Figma REST API does not return children of hidden instance

  • November 8, 2024
  • 5 replies
  • 108 views

Grinders

Hello,
I have a project using Figma REST API to get a Figma file and read some of the properties of a component Instance. A component has another instance as a children which is hidden. The hidden instance has a text layer child. A few days ago I was able to read the properties of this specific child but now it seems like it is not returned: the hidden instance has empty array as for the children collection.
Is this expected now because this was introduced a couple of days ago and is not documented neither in the REST API docs nor in the changelog.
Is there a way I can bypass this?
Thanks.

Best answer by jefflee

Hey folks, apologies for the inconvenience here and appreciate the bug report. We took a look and we’ve deployed an update that we believe should fix the issue…can you please try again and verify that things are working as expected?

View original
This topic has been closed for replies.

Gunseli
  • November 20, 2024

This is a show-stopper issue for our package too. If this is a bug, it requires fix as soon as possible. If it is a change made to the API, the changes should be documented.


jefflee
Figmate
  • Figmate
  • November 21, 2024

Hey folks, apologies for the inconvenience here and appreciate the bug report. We took a look and we’ve deployed an update that we believe should fix the issue…can you please try again and verify that things are working as expected?


Gunseli
  • November 21, 2024

Yes, now I can see the children nodes of hidden instances. Thanks for the fix!


Grinders

Yes, this is fixed now. Thank yo @jefflee


jefflee
Figmate
  • Figmate
  • November 21, 2024

Sorry again for the disruption. We’re adding some additional checks to make sure this doesn’t slip through the cracks again.


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