API v5: Valid OAuth token resulting in "invalid token" error

Kind of difficult without the code indeed. One thing people have missed in the past is that the token must be for the channel whose subscriber list you’re trying to request.

GET /kraken/channels/<channel ID>/subscriptions HTTP/1.1
Host: api.twitch.tv
Accept: application/vnd.twitchtv.v5+json
Authorization: OAuth <token of the user whose channel ID is above with channel_subscriptions>
Client-Id: xxx

The API version 5 header is always necessary (until February when it becomes default), client ID is only necessary when no valid oauth is present, so it’s good to send in case the oauth token is invalidated/revoked in order to get the correct response (401 instead of 400).