I have provided the Figma personal access token and the correct Figma file ID.
The file I’m using is a free Figma community template.
I have confirmed that I have edit access to this file.
Despite all this, the API call fails with this error.
Could anyone help me understand why this might be happening and how to fix it? Any insights on API token scopes, permissions, or best practices when connecting Figma with Bubble would be appreciated.
The error you’re seeing is because you aren’t authorising yet. Almost every call will need this to work. Not exactly sure of the format with figma, but it’ll be header along the lines of:
You need to read all documentation first. Without authorization, you will not be able to connect Figma API
In this case, and not like @ed19 (he probable didn’t read documentation too ) you need to use X-Figma-Token (goes in header) instead of Authorization and the value set to youraccesstoken instead of Bearer.
@Jici When you say authorization which part you have refereeing to. I have also gone through the figma design still got confused. I believe i have followed every steps but still not getting to the conclusion.