Skip to main content
Harsha_Hassan_Ravindra
New Member
Jan 20, 2025 1:01 AM UTC
Solved

Unable to update variable description - REST Api

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.
Celine_
Celine_Solution
Community Support
Feb 6, 2025 10:12 AM UTC

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
Jan 21, 2025 9:21 PM UTC

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_Solution
Community Support
Feb 6, 2025 10:12 AM UTC

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!