Getting 403 error while making a youtube analytics api call

179 views Asked by At

I have access to the channel and it is happening only for some videos in the channel. any idea what may be the reason ??

[com.spr.channel.error.AccessForbiddenException: Exception while processing request for accountId: 37393 Channel Type: YOUTUBE Message: 403 Forbidden

{
  "code" : 403,
  "errors" : [ {
    "domain" : "global",
    "message" : "Forbidden",
    "reason" : "forbidden"
  } ],
  "message" : "Forbidden"
}     

at com.spr.channel.error.translator.GPlusExceptionTranslator.doTranslateException(GPlusExceptionTranslator.java:72) at com.spr.channel.error.translator.AbstractChannelApiExceptionTranslator.translateException(AbstractChannelApiExceptionTranslator.java:42) at com.spr.channel.sn.youtube.YouTubeV3APIClientImpl.translateException(YouTubeV3APIClientImpl.java:952) at com.spr.channel.sn.youtube.YouTubeV3APIClientImpl.executeQuery(YouTubeV3APIClientImpl.java:154) at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)

0

There are 0 answers