Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

422 Error sending tokens to url #49

Open
nedzen opened this issue Aug 15, 2023 · 3 comments
Open

422 Error sending tokens to url #49

nedzen opened this issue Aug 15, 2023 · 3 comments

Comments

@nedzen
Copy link

nedzen commented Aug 15, 2023

I want to use the "Send design tokens to url" feature to export the variables, color, text styles and effects from my figma file. When I check "variables" I get a 422 error:
image 1
image
If I uncheck the "variables (beta)" option everything works fine. The JSON file download works fine too, only issue is when I try to export it. I have recreated a separate figma file with similar variable config and to my surprise the "Send design tokens to url" feature works fine. I suspect there is some issue with my file or variables that I have in this file.
design-tokensjson.txt

I am attaching the downloaded json.

Any idea how I can begin to debug this ? "the console doesn't provide any useful info to begin debugging this" failed to load resource: the server responded with a status of 422 ()

@nedzen
Copy link
Author

nedzen commented Aug 18, 2023

@lukasoppermann Should I post this on the plugin repo instead ?

@lukasoppermann
Copy link
Owner

Well, are you using any transformers that may fail? Do you have any logs on your server?

It is probably because some script you run on the server can't deal with variables.

@rpgraffi
Copy link

I have the same issue with a clean copy of your repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants