-1
我有一個問題,同時通過腳本進行調用https://www.googleapis.com/youtube/partner/v1/claimSearch。以下是由於缺乏內容所有者而導致失敗的部分響應。我們有多個帳戶附加到一封電子郵件,我試着發送電子郵件地址以及作爲內容所有者的帳戶之一,但仍然收到相同的錯誤。的Youtube API內容所有者錯誤
'_msg' => 'Bad Request',
'_request' => bless({
'_content' => '',
'_uri' => bless(do{\(my $o ='https://www.googleapis.com/youtube/partner/v1/claimSearch')}, 'URI::https'),
'_headers' => bless({
'user-agent' => 'libwww-perl/6.03',
'videoid' => 'MjMpgVRZjqU',
'contentowner' => 'tunesat_music_label',
'onbehalfofcontentowner' => '5qo5EmXXXXXX',
'authorization' => 'Bearer ya29.qwHkgGH2obX6GOS7oNItTlVSN822K4hKxhNSjZQCWyo2vp1zPvYGMzivKf7XZA_5Ath0UqjvAqZRqA',
'key' => 'AIzaSyBCXXXXXX'
}, 'HTTP::Headers'),
'_method' => 'GET',
'_uri_canonical' => $VAR1->{'_request'}{'_uri'}
}, 'HTTP::Request')
"error": {
"errors": [
{
"domain": "youtubePartner",
"reason": "contentOwnerNotProvided",
"message": "Content owner was not provided. If you manage multiple content owner accounts, you must specify one content owner in each request."
}
],
"code": 400,
"message": "Content owner was not provided. If you manage multiple content owner accounts, you must specify one content owner in each request."
}
在發佈我的問題之前,我已將YouTube Content ID API添加到我們的公司帳戶。 –