Skip to main content
Question

Inconsistent Rendering of Components When Using Figma REST API to Get Images


Xavier_Lam

I’ve been experiencing an issue with the Figma REST API when using the get image endpoint. Specifically, when trying to render images that contain a large number of components, the rendered image sometimes lacks certain components, particularly text elements. At other times, the image renders completely without any missing parts.

This inconsistency makes it difficult to rely on the API for generating accurate previews of complex designs. Here are some details about the issue:

  • Endpoint Used: GET /v1/images/:file_key
  • Components Affected: Mostly text elements, but other components can also be missing.
  • Frequency: The issue occurs intermittently, with some images rendering correctly and others missing parts.
  • File Complexity: The problem seems to occur more frequently with files that have a large number of components or nodes.

Has anyone else encountered this issue? Are there any known limitations or fixes for ensuring consistent rendering of all components in an image?

Thank you for your help!

0 replies

Be the first to reply!

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