Skip to main content
Grinders
Nov 8, 2024 10:03 AM UTC
Solved

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.

This topic has been closed for replies.
jefflee
jeffleeSolution
Figmate
Nov 21, 2024 12:14 AM UTC

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?

5 replies

Gunseli
Nov 20, 2024 11:36 AM UTC

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
jeffleeSolution
Figmate
Nov 21, 2024 12:14 AM UTC

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
Nov 21, 2024 9:08 AM UTC

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

Grinders
GrindersAuthor
Nov 21, 2024 10:46 AM UTC

Yes, this is fixed now. Thank yo @jefflee

jefflee
Figmate
Figmate
Nov 21, 2024 9:26 PM UTC

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