Skip to main content
Harsha_Hassan_Ravindra
New Member
January 20, 2025
Solved

Unable to update variable description - REST Api

  • January 20, 2025
  • 2 replies
  • 175 views

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..

This topic has been closed for replies.
Best answer by Celine_

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!

2 replies

Celine_
Figmate
Community Support
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_
Figmate
Celine_Answer
Community Support
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!