Figma REST API does not return children of hidden instance

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.

1 Like

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.

1 Like

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?

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

Yes, this is fixed now. Thank yo @jefflee

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

2 Likes