Some emote sets are empty

This 410 reply is for the ancient V3 API, make sure you include the Accept header which tells the API that you want to use V5, not V3. See the reference here: Legacy Twitch API v5 | Twitch Developers
Though, keep in mind that if you haven’t used Kraken API with your Client ID before you won’t be able to use it since it’s close to being decomissioned I think. You should get a message similar to the one below if that’s the case:

{
  "error": "Not Found",
  "status": 404,
  "message": "The v5 API is deprecated and will be shutdown on February 28, 2022. Applications that have not accessed v5 before July 15, 2021 no longer have access to v5. For more information on the v5 API shutdown plan, see https://blog.twitch.tv/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline/ and the Twitch API documentation at https://dev.twitch.tv/docs/api."
}