Skip to main content
Question

API keeps returning: status":500,"err":"Internal error, please try again later

  • February 28, 2023
  • 2 replies
  • 1484 views

Pedro8

Trying to get a pdf representation of a Figma page. For that I am using the CURL call suggested in the API documentation:

curl -H 'X-FIGMA-TOKEN: ###here my private token###' 'https://api.figma.com/v1/images/####here the file ID#####?ids=0:1&format=pdf'

the API keeps returning every time
{"status":500,"err":"Internal error, please try again later"}

Can anyone provide further help?

2 replies

Simon_Steer

You can’t export pages or documents this way; the ids passed to the /images/:file endpoint should correspond to figma nodes that sit inside of an existing Figma page (text, frames, vectors, etc).


Ivan_Rysev

same error on
curl -sH β€˜X-Figma-Token: figd_7S…’ β€˜https://api.figma.com/v1/files/tCTaL…’ > t.txt


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings