Automattic / Automattic/custom-fonts

Invalid requests to Typekit API

Open
#252 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

We're requesting from the Typekit API variations that don't exist for particular fonts. I receive emails for API request failures, and I've noticed a lot of these errors:

`{"errors":["The variations 'i3', 'i9' are not allowed for font family 'sskw'"]}`
`{"errors":["The variations 'i3', 'i8' are not allowed for font family 'nqdy'"]}`

I haven't reviewed _every_ error report, but skimming them indicates the problem is limited to those two fonts and those particular variations.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing where this plugin builds Typekit API requests and how font variations are selected for families sskw and nqdy. Confirm the available variations for those fonts, then verify that generated requests no longer include i3, i8, or i9 and that the reported API errors are resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.