Skip to main content
Question

How to detect Enterprise status before OAuth or handle file_variables:read scope errors?

  • November 3, 2025
  • 2 replies
  • 52 views

Hello
 

We're working on a third-party app that uses Figma's REST API. Our app needs to support both Enterprise and non-Enterprise users. For Enterprise users, we want to enable variable imports (which requires the file_variables:read scope). However, when we include this scope in our OAuth request (along with file_content:read and current_user:read), non-Enterprise users face an error on Figma's OAuth authorization page (https://www.figma.com/oauth?client_id...)

{
"error": true,
"status": 400,
"message": "scope file_variables:read is only allowed for Enterprise users",
"i18n": null
}


Since this error occurs on Figma's page before the callback to our app, we can't handle it on our end. This blocks non-Enterprise users from signing in at all.
 

We've looked at the /v1/me endpoint but don't see plan info there. Is there a way to detect if a user is Enterprise, or what's the recommended way to support both Enterprise and non-Enterprise users in the same app?
 

Thanks!

2 replies

ksn
Figmate
  • Community Support
  • November 10, 2025

Hey ​@rom_f - thanks so much to the callout. Apologies for the delayed reply, but I wanted to check in with our engineering and support team before sending one.

I see you have an open ticket with one of our technical quality agents. From what I understand, this could potentially be a bug, but I cannot confirm with the knowledge I have in this moment. I can, however, confirm there’s active discussion happening internally. You should get an update via email once there’s an update.

 

Appreciate your patience!


  • Author
  • New Member
  • November 10, 2025

Hey ​@ksn, thanks for checking on this - appreciate the update!