Skip to main content
March 26, 2024
Solved

API call results in an empty data response (202 Statuscode)

  • March 26, 2024
  • 21 replies
  • 2519 views

Hi together we are facing a strange behaviour regarding the Figma API Endpoint /v1/images

We are fetching some images but sometimes it happens that we get an API response with an empty data field, but no additional error like “to many request” or similar.

Is there any know issue or limitation?

This topic has been closed for replies.
Best answer by jefflee

Hey folks, Jeff from Figma here. We appreciate everyone’s patience on this issue and sincerely apologize for the disruption.

First, the details: we had a misconfiguration in our anti-automation protection. This was in effect from March 25 5:50PM Pacific to March 26 8:50AM Pacific, and affected about 0.5% of our REST API traffic. As others have observed in this thread, if you hit this issue, you’d get a 202 status code with an empty response body. Definitely not great!

We’re working on trying to prevent this thing from happening again. More than that, we’re also not happy with how long it took us to get to a solution. We had some early metrics that didn’t accurately convey the scope of the issue, and we’re working on improving our response time.

Thanks again for everyone bearing with us.

21 replies

James_Yang
Figmate
Figmate
November 14, 2024

This is expected behavior, since these urls are not part of the public REST API (https://www.figma.com/developers/api) and will return 202 responses from time to time due to the anti-automation protection mentioned above.