I’ve been using figma.fileKey
in an internal Figma plugin to get the file’s latest contributor, and it had been working fine until today.
Now I’m getting the following error:
Unhandled promise rejection: Error: figma.fileKey is undefined. Ensure you’re in the plugin main thread on API v1.0.0+
Just wanted to check—was there a recent update to the Figma APIs that may have affected this behavior? I’m running this from the main thread, so this change seems unexpected.
Appreciate any insight you can provide!
Thank you for the help