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

Figma connect interactive setup breaks due large design file #243

Open
rodrigolungui opened this issue Feb 11, 2025 · 1 comment
Open

Figma connect interactive setup breaks due large design file #243

rodrigolungui opened this issue Feb 11, 2025 · 1 comment
Labels
API question under discussion The Code Connect team is currently discussing this request

Comments

@rodrigolungui
Copy link

  • Code Connect CLI version: 1.3.0
  • OS: macOS Sequoia 15.3
  • Node version: v20.17.0

I’m working on a exploration task around Code Connect for our internal Design System. When trying to set up code connect with our main design file using the interactive setup I got an error:

Script: npx figma connect

Failed to fetch components from Figma (400): 400 Request too large. If applicable, filter by query params.

I'm assuming it happened because our design file is too large, but could you possibly give me some more information about it? Which rules are applied? Is there any "number" we can take a look at on Figma to avoid this situation?

Also, want to share that in our case, I asked for another design file with a limited number of components, and it worked well!
Thank you in advance!!

@rrabherufigma rrabherufigma added the under discussion The Code Connect team is currently discussing this request label Feb 13, 2025
@rrabherufigma
Copy link

Hi @rodrigolungui . Thank you. We are are planning to work on a fix for this case where design files are too large to be returned. At present, there isn't any number or indicator that a file may run into this issue.

In the meantime, a workaround is to use the npx figma connect create on a per component basis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API question under discussion The Code Connect team is currently discussing this request
Projects
None yet
Development

No branches or pull requests

2 participants