Closed piperchester closed 4 years ago
have you raised this with figma? This sounds like a bug/issue in their api and not this library (that just provides access to the API)
have you raised this with figma? This sounds like a bug/issue in their api and not this library (that just provides access to the API)
Haven't but will surely do so, thanks!
It looks like this is a limitation on the Figma API's render types -- only some types are supported (like "group"). Going to close out 👍
I'm submitting a ... [x] bug report [ ] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project
Summary
Heya figma-js team. I'm running into an issue with fetching a frame at a certain nested level. Debatable design file hygiene aside, I wanted to touch base with y'all to see if this behavior's been encountered.
From the "Copy link" menu in Figma, I grab the URL,
and then pass the node ID into the
.fileImages
call,and get a response with,
Here's an image of the limits:
Checking the docs, the closest hunch I have to what's happening is:
https://www.figma.com/developers/api#get-images-endpoint
So perhaps the Frame I'm copying doesn't have any renderable components? If that's the case, apologies for the ticket and my blatant misuse :-)
Love this project! Huge kudos to the authors and maintainers.