YouTube change Channel Banners - youtube-api

When I request a change of banner for a YouTube channel, I get an error:
"googleapiclient.errors.HttpError: https://www.googleapis.com/upload/youtube/v3/channelBanners/insert?alt=json&uploadType=resumable returned "Channel banner validation failed. This error can occur because the channel banner image is too large or is not accepted file type."
I tried various files from 150 kb to 2 mb, but the error still appears. Sometimes with the same file - it loads.
Perhaps this depends on the frequency of the channel banner change request? But I did not find the query frequency limit in the documentation.

Related

Getting "The user has exceeded the number of videos they may upload" even though we have quota

I'm getting "The user has exceeded the number of videos they may upload" even though we have quota left. Is there a limit to number of video that can be uploaded? It seems like our automation is running into this more recently and we have not changed our automation, it has been running for several months. Thanks
There is indeed another not documented enough limit, in addition to quota:
badRequest (400)
uploadLimitExceeded
The user has exceeded the number of videos they may upload.
Source
As far as I know, we don't have more details, like the number of videos the user may upload...

WkWebView YouTube channel and Allow Arbitrary Loads

I have a WkWebView which successfully plays videos from YouTube in a webpage which has an embedded video player and an embed url.
The page also allows navigation to YouTube channels. When a video is clicked in the channel I see "an error occurred".
If I enable Allow Arbitrary Loads in Web Content I can play the video. I understand that the Allow Arbitrary Loads in Web Content is not applied to 'Exception Domains'.
Does this imply that there is a domain being accessed, that is not listed in the 'Exception Domains', which takes advantage of the 'Arbitrary Loads' setting?
Is it possible to apply Allow Arbitrary Loads in Web Content only to a specific domain?
When I use the Allow Arbitrary Loads in Web Content and play a video I encounter these errors. These appear to be internal error. Are there some permissions I need to request. Should I be concerned about these errors? These errors do not prevent the video from playing.
Finally is its likely that Apple will allow viewing YouTube videos as a justified reason for using Allow Arbitrary Loads in Web Content.
Xcode 13, minimum iOS 11, iPhone
ProcessAssertion: Failed to acquire RBS assertion 'WebKit Media Playback' for process with PID=94275, error: Error Domain=RBSServiceErrorDomain Code=1 "(originator doesn't have entitlement com.apple.runningboard.assertions.webkit AND originator doesn't have entitlement com.apple.multitasking.systemappassertions)" UserInfo={NSLocalizedFailureReason=(originator doesn't have entitlement com.apple.runningboard.assertions.webkit AND originator doesn't have entitlement com.apple.multitasking.systemappassertions)}
Thanks for any guidance!

"The user has exceeded the number of videos they may upload" when I have uploaded 100 videos

When uploading videos to my channel using YouTube Data Api, I get an error message "The user has exceeded the number of videos they may upload" when I have uploaded 100 videos.
I have checked the quota and it has not reached the limit.
Is there any way to resolve this error or upload more than 100 videos?
This is unrelated to the YouTube Data api its quota costs.
If it had been you would have seen this error message
quotaExceeded (403) quotaExceeded The request cannot be completed because you have exceeded your quota.
This error is realted to a limitation with in YouTube itself. A user can max upload X videos to YouTube per day depending upon their region / location.
Support Common uploading errors

use google api to upload videos got error 'The user has exceeded the number of videos they may upload.'

I use googleapis nodejs client to upload my videos.for some reason, some videos have not been processed successfully, so I need upload them again,But I got some error:
Error: The user has exceeded the number of videos they may upload.
I googled some answers about these question ,like Youtube video uploads rejected before API quota limit reached
,and I found Quotas page to see whether i reach the limit quotas.
As you can see, I did't reach the limit .But I also can not upload videos any more using api.
I want to know why .
By the way
my googleapis version is v36.0.0.
my node version is v8.13.0

Youtube API - Difference between number of videos from channel statistics and number of videos uploaded

I am trying youtube API to get the number of videos using the call
https://www.googleapis.com/youtube/v3/channels?part=statistics&id=[id]&key=[key]
However, there is a mismatch in the number of uploaded videos. There are 178 videos uploaded in the channel and the channel statistics API is showing 177.
Why is the difference of 1 count?
UPDATE
After 3 days, I got the correct count from channel statistics API.
Still, the question is "Is there a chance to get the difference?"
If that is the case, I would prefer to use the number of videos uploaded instead of the channel statistics.
Watch time report shows the following data collected from youtube.com, the video watch page, mobile Youtube apps (some data is only available from youtube.com).
Note: Analytics views data is based in Pacific Standard Time, updated once a day, and has a delay of up to 72 hours. The numbers you
see in Analytics reports might be different from the numbers you see
on the video page, channel page, Video Manager, or other sources.
Then I suggest that you use the number of videos uploaded.

Resources