#Get Variables with Figma Code Connect

7 messages · Page 1 of 1 (latest)

livid dagger
#

Hi Community,

I need to get the variables of a DS with Code Connect. I have cloned the sds repository (https://github.com/figma/sds) and updated the FIGMA_ACCESS_TOKEN and FIGMA_FILE_KEY variables in the .env file so that they point to my figa design project in the organization I am part of. But when I run the script to process variables I get some "invalid scopes" errors.

For example: Invalid scope(s): file_code_connect:read, file_code_connect:write and so on...

The scopes mentioned do not appear on y Figma settings when I create the personal access token (please see image attached). So I am stuck, I don't understand where I should configure the permissions for those scopes, as they do not appear to me.

What am I missing? My goal is getting the library of variables on my vs code with Figma Connect, for which I understand a Organization plan is required, which I am a member of.

There is a forum ticket I have open today, which is a little more detailed:
https://forum.figma.com/ask-the-community-7/having-trouble-getting-my-ds-variables-with-code-connect-39260

Any help will be much appreciated.

#

Get Variables with Figma Code Connect

humble swan
#

Hi @livid dagger

I would say your best bet of getting support for this specifically is to grab the developer role on the Channels and Roles and use the then unlocked developer channels to ask the same question 🙂

The people there tend to be more experienced and those channels are checked regularly by Figma’s own Dev advocates

livid dagger
#

Hi @humble swan

Thanks for your reply.

I am not sure I understand how to post my questions on the developer channles. Under "Channels and roles" I am already interested in "Design Systems" and "Developers"

#

What is the channel you recommend here on Discord to ask?

humble swan
#

That would be anything under Extensibility