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

Unable to sync with Figma #533

Closed
3 tasks done
jaythakor-ai opened this issue Apr 29, 2022 · 7 comments
Closed
3 tasks done

Unable to sync with Figma #533

jaythakor-ai opened this issue Apr 29, 2022 · 7 comments
Labels
pending-response An issue is pending response from the issue requestor studio-ui An issue that needs to be tracked by Studio Console team

Comments

@jaythakor-ai
Copy link

Before opening, please confirm:

App Id

No response

Region

us-east-2

Environment name

dev

Amplify CLI Version

7.6.26

If applicable, what version of Node.js are you using?

14.16.0

What operating system are you using?

Windows

Browser type?

Chrome

Describe the bug

Unable to sync with Figma. Getting the Error that "Item Size limit exceed".

image

Expected behavior

Should be able to sync my new components into the Amplify Studio.

Reproduction steps

  1. Create new components in the Figma using primitives.
  2. Click on Sync with Figma from the Amplify Studio.
  3. See the errors in the Studio.

Additional information

No response

@scottyoung scottyoung added the studio-ui An issue that needs to be tracked by Studio Console team label Apr 29, 2022
@scottyoung
Copy link

Hi @jaythakor-ai, are you able to share the Figma file you are using to sync? This will make it easier to debug on our end.

@ghogharidevam
Copy link

Hello @scottyoung, I'm also facing the same issue, Here is the screenshot.

image

@letsbelopez
Copy link

When this error happens it's because the component has exceeded our service quota for the component size. Please review our service quotas and your component size.

https://docs.aws.amazon.com/general/latest/gr/amplify.html#service-quotas-amplify-ui-builder

@letsbelopez letsbelopez added the pending-response An issue is pending response from the issue requestor label May 2, 2022
@ghogharidevam
Copy link

Okay @letsbelopez, Got it.

But what if we have to use the same component for development?
Should I break my component into multiple components? Or is there any other solution?

Because we can not compress Figma components in the Figma file.

@letsbelopez
Copy link

Looking at our Amplify figma file could give you an idea on how to organize your components to reduce size: https://www.figma.com/community/file/1047600760128127424

To further debug your use case, we'd have to see your component and figma file. If you need further help, would it be possible to share it with us?

@letsbelopez
Copy link

Closing this issue for now, please let us know if this is still a problem.

@LekovicMilos
Copy link

LekovicMilos commented Sep 24, 2024

I have a problem with this, it turns out the icons that I am using in figma in the components are too big, some has 588kb. Is the quota 350kb? How do I reduce the size of the icon in figma to have it accepted in amplify studio?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-response An issue is pending response from the issue requestor studio-ui An issue that needs to be tracked by Studio Console team
Projects
None yet
Development

No branches or pull requests

5 participants