Skip to main content
Anne_UX
June 28, 2023
Question

Invalid scope(s): files:read

Hi there!

My colleagues and I came across a problem with the REST API yesterday. We’re trying to get all published variables from a Figma file and used the sandbox in the documentation: https://www.figma.com/developers/api#variables-endpoints

The response is

{
  "status": 403,
  "error": true,
  "message": "Invalid scope(s): files:read, file_comments:write, file_dev_resources:read, file_dev_resources:write, webhooks:write. This endpoint requires the file_read or file_variables:read scope"
}

Any ideas on that? Why does the automatically generated access token ask for wrong scopes? Is it a bug?

This topic has been closed for replies.

7 replies

June 28, 2023

Looks like new scopes are required for Variables:
https://www.figma.com/developers/api#authentication-scopes

Can’t test it, tho, since I’m not on Enterprise package 😦

July 3, 2023

We can’t find the “file_read” or “file_variables:read” scope in the page.
What is wrong?

July 3, 2023

Perhaps 'tis the reason?

July 3, 2023

I confirmed that my account is Enterprise organization.

July 3, 2023

“Figma Organization” and “Figma Enterprise” are two different account types in Figma. How to determine which account type I have?

Anne_UX
Anne_UXAuthor
July 5, 2023

Thanks for all your answers! The Figma support already solved the mystery: It was indeed the problem that we only have the “Figma Organization” plan…

July 24, 2023

please How to view “Figma Organization” plan