Skip to main content
Question

Files Endpoint should return 403 instead of 404 when user have no access to the file

  • January 5, 2026
  • 1 reply
  • 30 views

zhangweicheng.1

https://api.figma.com/v1/files/:file_key

https://developers.figma.com/docs/rest-api/file-endpoints/ says it will return 403 when The developer / OAuth token is invalid or expired. But, it now return 404 when user have no access to the files.

Returning 404 means developer can not distinguish from the url is incorrect (may be the node is deleted by designers) between the user have no access to the file.

I hope you can fix this soon.

1 reply

djv
Figmate
  • Community Support
  • January 5, 2026

Hey ​@zhangweicheng.1, thanks for flagging this! 

I’ve passed this along to the team to investigate and will provide any new information I receive as soon as I hear back.

In the meantime, do you have an example file link that you can provide where this is occurring? Our team would love an example, so they can confirm what may be happening on the back end.