I request to get a file using https://api.figma.com/v1/files/${fileId}. I then request to get the styles: https://api.figma.com/v1/files/${fileId}/nodes/?ids=${styleNodes}.
However, in response to the nodes API request, I noticed multiple styles returned with the same name. In my case, I get many text styles with the same name. If I look at the Figma file, I only see the text style in question listed once. Although the names are duplicated, the details, such as line-height, are different.
Any ideas on why I would get multiple local styles with the same name?