API returns error for Poppins font when using `..` syntax
Open
-- Needs Eng team opinion
I API / Website / Platform
I Request
I Tools / workflow / repo
- Dominant language
- HTML
- Stars
- 20.5k
- Forks
- 2.9k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 95
Description
**Describe the issue**
This URL works:
- https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap
But this URL does not:
- https://fonts.googleapis.com/css2?family=Poppins:wght@400..800&display=swap
```
400: Missing font family
The requested font families are not available.
Requested: Poppins (style: normal, weight: 400, {wght=[400.0,800.0]})
```
**Expected behavior**
According to https://developers.google.com/fonts/docs/css2#axis_ranges, this URL with `400..800` should work, but it doesn't seem to. The error message is also confusing and non-specific, so I'm not sure how to fix the problem if there is one.
Contributor guide
Assessment
This issue has not been assessed yet.