작동하지 않는 것은 내 코드유튜브 API받은 요청은 항상 I '가 인증 된 유튜브의 사용자의 profile.This에 대한받은 편지함의 메시지를 얻기 위해 노력하고있어
def GetInboxMessage(self):
uri = 'https://gdata.youtube.com/feeds/api/users/default/inbox?v=2&key=%s' %DEVELOPER_KEY
print 'GET INBOX\n'
feed = yt_service.GetYouTubeVideoFeed(uri)
for entry in feed.entry:
try:
PrintVideoDetails(self,entry,'videomessage')
except:
pass
이 내 계정에 대해 잘 작동합니다. 친구의 계정을 사용해 본 결과 다음과 같은 오류가 발생합니다.
File "/usr/local/lib/python2.7/dist-packages/gdata/youtube/service.py", line 183, in GetYouTubeVideoFeed
return self.Get(uri, converter=gdata.youtube.YouTubeVideoFeedFromString) File "/usr/local/lib/python2.7/dist-packages/gdata/service.py", line 1108, in Get 'reason': server_response.reason, 'body': result_body}gdata.service.RequestError: {'status': 500, 'body': "http://schemas.google.com/g/2005'>GData
ServiceException
Internal Error", 'reason': 'Internal Server Error'}
나는 그것을 처리 할 방법을 모른다. 어떤 아이디어?