Did the name property get change recently in the REST API?

I have some scripts that occasionally pull data out of my Figma files via their names, e.g. “WidgetName”. Recently, I noticed that the REST API says the name I need to search for is “Widget-name” and I’m wondering why it is formatted that way? The component in my file is named “WidgetName” and I haven’t changed it in a long time, so what gives?

Ah, I feel dumb. I had two components with the same name. Sorry!

Pro tip: Make sure it’s not user error :slight_smile:

1 Like