Giter Site home page Giter Site logo

Comments (15)

alexs77 avatar alexs77 commented on August 15, 2024 1

In Chrome it's still Error: popup_closed_by_user, yes.

However, in Firefox, I got it to work :) I created a new project in GCP and thus new API key and client. And now it works and I was able to migrate a first batch ;)

from yt-migrate.

raj-khare avatar raj-khare commented on August 15, 2024

Can you show the error message returned from the google server by going to the dev tools?

from yt-migrate.

alexs77 avatar alexs77 commented on August 15, 2024

image

cb=gapi.loaded_0:181 Uncaught 
{error: "idpiframe_initialization_failed", details: "Cookies are not enabled in current environment."}
details: "Cookies are not enabled in current environment."
error: "idpiframe_initialization_failed"
__proto__: Object

from yt-migrate.

alexs77 avatar alexs77 commented on August 15, 2024

image

I get this, when I use a new "person" (profile) in Chrome. One with no addons at all. I haven't logged in to "Google" for sync either, in this profile.

https://content.googleapis.com/discovery/v1/apis/youtube/v3/rest?pp=0&fields=kind%2Cname%2Cversion%2CrootUrl%2CservicePath%2Cresources%2Cparameters%2Cmethods%2CbatchPath%2Cid&key=... returns a 400 error. The "key" value matches the "client secret" I got when setting up the OAuth client in google cloud.

Interestingly, the error is different this time - now it is "Error: Error. Please try again"; it used to be (in my main profile): "Error: Sign-in failed".

from yt-migrate.

raj-khare avatar raj-khare commented on August 15, 2024

I've updated the code so that you'll be able to see the exact error message. Please pull the updates and let me know the errors.

from yt-migrate.

raj-khare avatar raj-khare commented on August 15, 2024

Also, are you restricting API Key?

from yt-migrate.

alexs77 avatar alexs77 commented on August 15, 2024

I'm not restricting the API key.

image

This time, I got a different error message on my main account: Error: popup_closed_by_user
What popup? I allowed popups in the website permissions. Normally, I use uBlock Origin; it's disabled for this site. Also ads are allowed/enabled in the website permissions.

image
Is it right, that almost nothing is shown in the dev console?

image
That's from my other account. For a short time, it showed "signed in" and then it changed to error.

from yt-migrate.

raj-khare avatar raj-khare commented on August 15, 2024

Can you try on this: https://raj-khare.github.io/yt-migrate/. I have refreshed the quota.

from yt-migrate.

raj-khare avatar raj-khare commented on August 15, 2024

A popup screen for choosing the google account has to appear.

from yt-migrate.

raj-khare avatar raj-khare commented on August 15, 2024

As per google docs:

idpiframe_initialization_failed
Failed to initialize a required iframe from Google, for instance, due to an unsupported environment. A details property will give more information on the error raised.

Maybe try in another browser or incognito window?

from yt-migrate.

raj-khare avatar raj-khare commented on August 15, 2024

Also, try disabling "Block third-party cookies and site data" option.

from yt-migrate.

alexs77 avatar alexs77 commented on August 15, 2024

As far as incognito window is concerned - that's why I used a new profile. But I'll try an incognito window

"Block third-party cookies and site data" - where is that? I allowed all the things that I could allow (or have it still set to "Ask"). Nothing is set to block.

Another browser: I tried to use Safari, iCab and Firefox. Doesn't work on any other browser. At best, it shortly shows "SIgned in", but then the error (Error: Error. Please try again) is shown.

from yt-migrate.

raj-khare avatar raj-khare commented on August 15, 2024

Is the error still popup_closed_by_the_user?

from yt-migrate.

raj-khare avatar raj-khare commented on August 15, 2024

Great! I'll try to fix the bugs

from yt-migrate.

janoschp avatar janoschp commented on August 15, 2024

Getting the same error popup_closed_by_user

from yt-migrate.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.