Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

video locked to private due to unverified API project #86

Open
Masiromem opened this issue Aug 24, 2020 · 55 comments
Open

video locked to private due to unverified API project #86

Masiromem opened this issue Aug 24, 2020 · 55 comments

Comments

@Masiromem
Copy link

We submitted that the video was uploaded using a third party tool that failed our verification. Because of this, we set limited access for the video.

@Jaom
Copy link

Jaom commented Aug 24, 2020

At which step did you encounter this message?
Perhaps this message is not about the program youtubeuploader itself or "My application in Google Cloud Console" program?

youtubeuploader seems to be still working for me, although I've been asking for increased quota (and was eventually granted) which means that I'm already audited. Nevertheless I was able to successfully upload several videos making them unlisted or private (I didn't feel like uploading a public video to notify my subscribers).

@Masiromem
Copy link
Author

I have been using youtubeupload for a month now, everything was fine. For about a week I have been uploading videos to several accounts, as soon as I make the video public, I immediately block it. Tested on Windows 7 and Ubuntu 18.04

@Jaom
Copy link

Jaom commented Aug 24, 2020

I've just uploaded this video using youtubeuploader: https://www.youtube.com/watch?v=g1IXTedsbp0
As for now it's public with no problems (forgive the quality of my gameplay).

The command I've used was:
youtubeuploader -filename League\ of\ Legends\ 2020.07.04\ -\ 10.58.21.04.mp4 -secrets client_secret.json -headlessAuth

@Shaun-64
Copy link

I think I'm having this same problem. Used this program for the first time yesterday, and the video gets locked to private shortly after upload due to using an unverified third party service. Here's an image of the notification email from youtube.

Seems related to this recent change, requiring all youtube API projects made after July 28th undergo an audit before allowing normal uploads.

I'm very inexperienced with all this though, so I may well have simply set something up wrong!

@danguyf
Copy link

danguyf commented Aug 25, 2020

I came here to report this as well. I was having no issue using youtubeuploader until last night. I uploaded a video and it was locked to private minutes later, so I deleted it and uploaded another video as a test and the same thing happened.

@Jaom
Copy link

Jaom commented Aug 25, 2020

Here's an image of the notification email from youtube.

This seems to straighten my case that the API key / usage is unverified rather than youtubeuploader itself. I had na audit before (due to asking for increased quota) and I don't have this issue.

This is very sad as going through the audit is rather tedious as the process is designed for applications open to the public which is the dominant case from API usage perspective but a rare case as I imagine for every big and popular app there are dozens or hundreds of "private" use cases.

@porjo
Copy link
Owner

porjo commented Aug 25, 2020

Thanks for the report, I was unaware of this issue. It does sound like bad news for youtubeuploader - yet another hurdle to overcome.

From Google's announcement:

All videos uploaded via the videos.insert endpoint from unverified API projects created after 28 July 2020 will be restricted to private viewing mode. To lift this restriction, each project must undergo an audit to verify compliance with the Terms of Service.

Creators who use an unverified API client to upload video will receive an email explaining that their video is locked as private, and that they can avoid the restriction by using an official or audited client.

API projects created prior to 28 July 2020 are not currently affected by this change. However, we strongly recommend that all developers complete a compliance audit for their projects to ensure continued access to the YouTube API Services.

Just to confirm, the videos are locked to private (i.e. they can't be manually changed to public after upload) ?

@porjo porjo changed the title Youtube remove video youtubeuploader video to be locked to private due to unverified API project Aug 25, 2020
@porjo porjo changed the title video to be locked to private due to unverified API project video locked to private due to unverified API project Aug 25, 2020
@Shaun-64
Copy link

Shaun-64 commented Aug 25, 2020

Just to confirm, the videos are locked to private (i.e. they can't be manually changed to public after upload) ?

Can confirm, video is locked to private and can't be changed to public.

@danguyf
Copy link

danguyf commented Aug 26, 2020

I am just looking to upload a few videos a week. Are there any existing, verified API "projects" that I can use or am I stuck getting my own verified for such a small scale use?

@ridvansan
Copy link

I have this problem either. I taught this was my program's error etc. Until we start the confirmation process may I use someone's API (I need just client_secrets.json). We will upload maximum 1-2 video per day.

@Slavko-P
Copy link
Contributor

Slavko-P commented Sep 2, 2020

API's are used to simplify development, but sadly Google/Youtube didn't get that note. Maybe the API should be replaced with Selenium. One project does a similar thing: https://github.com/linouk23/youtube_uploader_selenium But it isn't really practical for automation yet.

@jorisrobijn
Copy link
Contributor

Selenium has no relevance to this issue. I further don't think selenium would offer much benefit because web browser interaction is very very minimal. And it would be a dependency on a huge package.

@ghost
Copy link

ghost commented Sep 11, 2020

I have the same issue of video made private, with no option to make them public through the web interface. Is there any solutions to this ?

@qome
Copy link

qome commented Oct 15, 2020

Your API project just needs to be audited. They'll ask for a description of what you're trying to do and eventually they'll approve your usage unless they don't like it. They're not trying to make life difficult, they have to do this because of spam.

@Jaom
Copy link

Jaom commented Oct 15, 2020 via email

@jorisrobijn
Copy link
Contributor

Same experience here. They also don't appear to understand what an executable on a computer is, they only understand web sites, it appears. Takes forever to explain what you want to do (or actually already did in the past). Now that I have access (which took 3 month for me) I now do regular private dummy uploads to keep the status as it is. Because you can lose access it if you don't use the API for 90 days.

@qome
Copy link

qome commented Oct 18, 2020

I literally told them that this was a server side application and provided my entire source code. They asked me for the same information a second time and I told them to read what I already sent or deny my application. They approved my usage.

They make it very easy.

@Lambik
Copy link

Lambik commented Oct 23, 2020

I need to fill in a whole bunch of OAuth consent screen stuff, with a privacy policy and a description video because it's using "sensitive youtube API" stuff. What did you all put in those fields? It's horrendous and it makes me sad :(

@alterNERDtive
Copy link

Now that I have access (which took 3 month for me) I now do regular private dummy uploads to keep the status as it is. Because you can lose access it if you don't use the API for 90 days.

Yeah that happened to me and now I’m seriously considering just eating the horrible browser upload workflow instead of this nicely automated one because it’s STILL less hassle than having to go through that stupid audit process.

@jorisrobijn
Copy link
Contributor

For everyone interested, this is the batch file I am using to do regular uploads. I just upload a tiny video of a few(?) black frames. It's only 3kB. I set it to visibility private. Edit it to your needs. Also adjust the paths if needed (I can use relative paths). You might want to execute this monthly as a scheduled task.

@"YoutubeUploader\bin\youtubeuploader.exe"  -secrets "xxxxxxxx - cred.json" -cache "xxxxxxxx - request.token" -title "dummy video" -description "Dummy video to perform regular uploads. May be deleted." -privacy private -filename "dummy.mp4" -metaJSON meta.json
if errorlevel 1 pause

@wolf128058
Copy link

Same thing here:
image

@ulysso
Copy link

ulysso commented Jan 17, 2021

@wolf128058 Same issue here, I spent like 3 weeks and 15 emails getting my app verified and now after being verified for the youtube scopes everything I upload still instantly gets locked as private for "spam, deceptive practices ..." without any appeal option.

Did you ever figure out a way around that?

@wolf128058
Copy link

@wolf128058 Same issue here, I spent like 3 weeks and 15 emails getting my app verified and now after being verified for the youtube scopes everything I upload still instantly gets locked as private for "spam, deceptive practices ..." without any appeal option.

Did you ever figure out a way around that?

Sorry, but I did not find one.

@Buadhai
Copy link

Buadhai commented May 17, 2021

Same here. I went through the verification process. After a couple of weeks of back-and-forth correspondence they told me that my application didn't have to be verified because it was for use by less than 100 people. They suggested I go through an API audit to have the "locked as private" designation removed. I applied for an audit. After several days of more back-and-forth they informed me that the audit was complete and that no further information was required. They never told me what the result of the audit was and they did not respond to further inquiries. But, my uploads are still "locked as private".

It seems hopeless.

@Buadhai
Copy link

Buadhai commented May 18, 2021

I received an additional response from YouTube API services:

The error you encountered is not YouTube Data API related.

On the other hand, if I try and appeal the "locked as private", I get:

Appealing this violation is not available

@ulysso
Copy link

ulysso commented May 18, 2021

@Buadhai I had the same issue where I went through the audit form (which doesn't even have an option for that despite the insert api docs specifically linking to it so I just selected "get more quota") to get rid of the "video locked as private" issue and they replied that they removed that restriction now and I could upload videos in the future without being locked.

Despite that I also couldn't upload videos still and they still got locked so I replied with that problem again to the same thread and a week later when I tried again it worked. I can now finally upload videos without issues. Not sure if it was my reply about it that made them fix it or it just always takes a while.

@Buadhai
Copy link

Buadhai commented May 18, 2021

Thanks @ulysso. I guess I'll wait a bit. When you say "same thread", do you mean that you submitted the same form again?

@moltar
Copy link

moltar commented May 23, 2021

Same issue here!

The change is documented here: https://developers.google.com/youtube/v3/docs/videos/insert

All videos uploaded via the videos.insert endpoint from unverified API projects created after 28 July 2020 will be restricted to private viewing mode. To lift this restriction, each API project must undergo an audit to verify compliance with the Terms of Service. Please see the API Revision History for more details.

@porjo porjo unpinned this issue Jul 8, 2022
@porjo porjo pinned this issue Jul 8, 2022
@ibrshv
Copy link

ibrshv commented Jul 22, 2022

I have the same issue. So as I understood I should "Publish App" and then go through audit for 6 month, shouldn't I? Do other solutions for auto uploading have the same problem? I think that that issue should be in README.md.

Also, would be nice to have the manual how to pass the audit.

@porjo
Copy link
Owner

porjo commented Jul 25, 2022

Do other solutions for auto uploading have the same problem?

Unfortunately, yes e.g. tokland/youtube-upload#306

@porjo porjo unpinned this issue Nov 26, 2022
@GTAXL
Copy link

GTAXL commented Nov 27, 2022

@porjo Aren't you as the developer supposed to undergo this audit and provide the client_secrets.json with this api program? When I undergo the audit, everything is framed from the developer of the api client standpoint, not the enduser using said client. I don't think the endusers of the program are supposed to be the ones getting audited. Everything is framing it as the developer of the client, how many users will use your api client, etc. I'm having a hard time completing the audit form because it asks specifically how the client interacts with YouTube's API.

@ulysso
Copy link

ulysso commented Nov 27, 2022

@GTAXL Yeah the "developer" is supposed to do that, but in general thats targeted to normal businesses being the developer that hosts a website/app/service/whatever for endusers, because the client_secret is required to be fully secret and never shared with endusers, so in case of an open source app that becomes impossible and every user running the code basically also becomes a developer and has to get their own api key/secret. No way around that (apart from a hosted auth service that gives user credentials to end users maybe but not sure even that would be allowed).

And yes it's made even harder by the fact that everything in the process is fully geared towards apps/websites and the reviewers apparently having no clue what a command line program or open source is but unfortunately there's just no easier option for just a simple private uploading app, but currently no way around that.

@GTAXL
Copy link

GTAXL commented Nov 27, 2022

@ulysso From my understanding the API key is linked to the client, the token is for the youtube account in question. The dev providing the api key, doesn't mean we have access to his google account or youtube acc, and vise versa. It's strictly to tell Google what client is making the api calls and if it's verified and authorized to do so.

How does this vary compared to say yt-dlp? You don't have to do this process with them, it accesses the API. The API keys are embedded in the extractor for them. I get it, it's a different process, downloading versus uploading, but same concept.

@jorisrobijn
Copy link
Contributor

jorisrobijn commented Nov 27, 2022

For download, I don't think you need to use the API.
With my registered API key, I can access only specific youtube channels. So it cannot be used by just anyone.

@kamild1996
Copy link

Got the same problem. Can't even submit this silly form, just keeps asking me to check my internet connection and ask later. I tried refreshing the form and quickly filling the fields.
Actually, as I typed this, I assumed it might be because I attached a zip file and sure enough, that's why. So if anyone else can't submit a form, that's probably why.
Either way... I found out about this issue after I used this tool to upload a video, which took me like half a day. That's on me for not reading the open issues, I guess...

@grnqrtr
Copy link

grnqrtr commented May 31, 2023

Just to give some optimism to others, I filled out this form and got a response in 4 days from YouTube and can now upload videos that are publicly viewable.
https://support.google.com/youtube/contact/yt_api_form

@porjo
Copy link
Owner

porjo commented May 31, 2023

@grnqrtr thankyou for the report!

@ravener
Copy link

ravener commented Aug 2, 2023

just got mine approved, took me like 14 days but I also missed providing some information that caused some delays so realistically it was like 7 days.

At first I had no hope since the form looked so intimitading and I felt like I filled it so unprofessionally but it still got the point across, I just clearly mentioned that it's not a business/service and strictly for personal use and even linked to this tool's repository.

So if anyone else is afraid of the form, fret not they'll take it really easy on you if you make the purpose clear.

@Supded
Copy link

Supded commented Aug 10, 2023

just got mine approved, took me like 14 days but I also missed providing some information that caused some delays so realistically it was like 7 days.

At first I had no hope since the form looked so intimitading and I felt like I filled it so unprofessionally but it still got the point across, I just clearly mentioned that it's not a business/service and strictly for personal use and even linked to this tool's repository.

So if anyone else is afraid of the form, fret not they'll take it really easy on you if you make the purpose clear.

How did you provide additional information to them? Just reply to email? I have the same situation.

@ravener
Copy link

ravener commented Aug 11, 2023

@Supded yes, once you get an email everything is followed up in there so you just reply to anything asked.

@Supded
Copy link

Supded commented Aug 13, 2023

@Supded yes, once you get an email everything is followed up in there so you just reply to anything asked.

It works, thanks!

@ErinPo
Copy link

ErinPo commented Sep 4, 2023

@Supded yes, once you get an email everything is followed up in there so you just reply to anything asked.

Did getting your uploader audited cause previously uploaded videos to become unlocked or only new uploads are unlocked?

@ravener
Copy link

ravener commented Sep 5, 2023

@ErinPo

Did getting your uploader audited cause previously uploaded videos to become unlocked or only new uploads are unlocked?

Only new uploads are unlocked, you should re-upload previously uploaded videos.

@hellishvictor
Copy link

Same thing here: image

Same here; if I just delete that video and upload it again with the browser, not problems at all.

@mixpc
Copy link

mixpc commented Jan 4, 2024

Could anyone, please, that has already passed the audit, be kind enough to report what checkboxes were selected, what sort of text input? I am really having a hard time trying to figure out what to select or type, when all I need is just very short (less than one minute) videos be uploaded.
eg. Does this API Client display data from, or provide features or services across, multiple platforms (e.g. Facebook, Twitter, etc.)? *
I think not but who knows! This form is frustrating. Thank you!

@jorisrobijn
Copy link
Contributor

jorisrobijn commented Jan 5, 2024

I don't remember all the questions from the form, but whatever you fill in, the people from the audit team normally ask some questions afterwards. They focus on web applications, interactive web sites, and hardly understand that you are using a command line application, it appears. You have to mentioning this explicitly. They are concerned about the security aspects, but that is no issue with this application. So I think it works to explain that it's not running on a web server, there is a single user that's using the application, that the user is authenticated when he logs into the PC, that there is no data from google being stored or exported elsewhere, and there is no other automatic connection with other systems.

@grnqrtr
Copy link

grnqrtr commented Jan 5, 2024

@mixpc I don't remember exactly what I wrote in all the fields, but like @jorisrobijn said, just explain simply what you are trying to do. In fields that didn't apply I would just write something like, "I don't believe this applies to my use case. I merely want to be able to upload videos via a command line interface for one user (me)."

If a field required so many characters, I would copy and paste something like this several times: "This field requires at least 200 characters so I am copying and pasting this sentence several times just to fulfill the requirement."

I just explained simply what I was trying to do and passed the audit pretty easily and fairly quickly.

@mixpc
Copy link

mixpc commented Jan 5, 2024

@jorisrobijn @grnqrtr Thank you for your feedback, appreciated. And thank you for the link to the form. Request submitted! I'll revert - fingers crossed! @porjo tried two or three apps to upload videos to YouTube in the past and either they were outdated or run successfully every now and then... Yours, superb! 🔝 Only miss uploading to a given channel, but I've seen that's already being managed in a different topic. Thank you! ⭐

@mixpc
Copy link

mixpc commented Jan 8, 2024

Ok, I've been asked to report back about my use case:

Please confirm if you are requesting for additional quota allocation, if so, please let us know how much it be.

The reason for completing the YouTube API form was "I am completing a compliance audit or requesting additional API quota".

So by their feedback I understand compliance audit is not an option but I should request additional API quota. Is that right? And also, how much it be? How should I know? Are they referring to how many MB on average per video file?

Thank you!

@qwelias
Copy link

qwelias commented Feb 15, 2024

So do I need to just request quota or do I also need to publich/verify the app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests