Skip to main content
Solved

Unable to update variable description - REST Api

  • January 20, 2025
  • 2 replies
  • 57 views

Harsha_Hassan_Ravindra

Hi Everyone, 

I am using Figma Rest API to update the variables on Figma File...  I came across a situation where I am unable to update the variable-description through the API.... For example,

consider someone has edited the description on Figma file.. I want to keep the description as it is defined in tokens( I am using styled-dictionary), if I run the figma-api script, was expected to update the description as it is in tokens, but it is not working..

 It is working w.r.t tokens values, but not the description..

Best answer by Celine_D

Update: For visibility here, you DM'd me that you successfully updated the variable description using a different endpoint.
I've marked this as solved and closed the topic. Thanks!

View original
This topic has been closed for comments

2 replies

Celine_D
Figmate
  • Community Support
  • 3381 replies
  • January 21, 2025

Hi @Harsha_Hassan_Ravindra, thank you for your feedback!

I've shared it with our internal team, and they would like to investigate further. Could you please provide the REST API request and a code sample? This will help our team examine the issue more effectively. Thank you!


Celine_D
Figmate
  • Community Support
  • 3381 replies
  • Answer
  • February 6, 2025

Update: For visibility here, you DM'd me that you successfully updated the variable description using a different endpoint.
I've marked this as solved and closed the topic. Thanks!


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