KlausSchaefers/figma-low-code

api.figma -> rate limit exceeded

nkpm opened this issue · 8 comments

nkpm commented

Hi there,

after following the install steps and running the server I get a blank screen in the browser. In the network traffic i see a lot of requests to api.figma.com with the result status=429 err="rate limit exceeded".

Is there something wrong with my installation?

Thanks and best Nils

Hi,

this can indeed happen. In particular in big prototypes with a lot of vector graphics that I need to download as PNGs. How big is your prototype?

nkpm commented

pretty big. what number do you need?

Could you share it with me (Klaus.schaefers@gmail.com) so I can have a look?

nkpm commented

unfortunately not, it's a business project

@nkpm Maybe you can tell a rough amount of vector graphics to reproduce

Hi,

I can try to add some throttling. This will make however the loading painfully slow. You will have to use the download script to load the assets once.

As an alternative, one could limit the import to certain pages. Would this work?

Klaus

Hello Klaus, I am getting exactly the same issue. How can I limit the import to a page?
Thanks in advance,
Alena

Hi,

if you update the plugin one can select the page

<template>
  <div class="home">
    <Figma :figma="figmaConfig" v-model="viewModel" page="Page 1"/>
  </div>
</template>

Also, for large request I spread the API requests. I hope this fixes the Rate limit issue.