Skip to main content

I’ve already fixed typo of a color style variable name from Bg-Reverse-A00 to Bg-Reverse-A100
 

But still got old JSON data:
```bash
 curl -H "X-Figma-Token: <my-token>" "https://api.figma.com/v1/files/<my-file-id>/styles"
```
 

I tried to suffix the URL with “?timestamp=random_number” but still got the same old data.

Figma's API might be caching the old data. Ensure the styles are published after renaming. Try using v1/files/<file-id>?version=latest to force an update. Making a small edit or reopening the file can also refresh the data. Check for API rate limits, if issue is still persisting!


Figma's API might be caching the old data. Ensure the styles are published after renaming. Try using v1/files/<file-id>?version=latest to force an update. Making a small edit or reopening the file can also refresh the data. Check for API rate limits, if issue is still persisting!

Thank you! Appending “?version=latest” works!


Figma's API might be caching the old data. Ensure the styles are published after renaming. Try using v1/files/<file-id>?version=latest to force an update. Making a small edit or reopening the file can also refresh the data. Check for API rate limits, if issue is still persisting!

Thank you! Appending “?version=latest” works!

You are welcome mate!