For kraken you should make sure you are requesting Version 5 when using an ID - Add api_version=5 to a URL or better yet, use the version and client ID in the header
a cURL header example can be seen at https://dev.twitch.tv/docs/v5/#translating-from-user-names-to-user-ids