migueesc123 / YoutubeAnalytics

A Microsoft Data Connector or Power Query Connector for YoutubeAnalytics data
MIT License
61 stars 21 forks source link

Login Error #48

Closed Mariana-Rezende closed 2 years ago

Mariana-Rezende commented 3 years ago

Hi I managed to install the connector totally fine! However now I am getting this error: "This browser or app may not be secure. Try using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in." Any suggestions?

migueesc123 commented 3 years ago

Hey! I've faced this situation in multiple occasions, but don't have a reliable way to fix it as the issue is due to the internal browser that Power BI uses. The only thing that I'm aware of that could fix this is going through the approval / certification process of your Google App so it can accept any browsers.

Usually it fixes itself for me after coming back to it a couple days later, but I'm not certain if I did something to fix it.

The Microsoft team did state that they'll eventually change the internal browser to be "Microsoft Edge" which runs on Chromium, but I don't really know when it'll happen.

I'll let this issue open in case any other contributors would like to jump in and offer some suggestions.

Judahoo commented 2 years ago

Hey,

I am getting the same error as mentioned above... when I put in my email address it gives me the this browser is not secure message.

Was wondering if you had found a fix for it?

Thanks

migueesc123 commented 2 years ago

@Judahoo Unfortunately, there's nothing that I can do at the custom connector level. It's something related to the application that you're.

Judahoo commented 2 years ago

Thanks, I found a solution that worked for me.

I was able to change my default browser (Options/Security/Use my default browser) and was able to sign in no problem.

Your script is great!

diegosousa1990 commented 2 years ago

@Judahoo you can help me?

File > Options and Settings > Options > Security

My PowerBI not have this option "use my default browser"

image

Judahoo commented 2 years ago

Keep scrolling down.

image

Also this is the version of my PowerBi maybe you need to upgrade it?

image

diegosousa1990 commented 2 years ago

Thanks @Judahoo , I updated and now everything is ok with the connection, but I can't retrieve the information, do you know what it could be? Thanks !!

image

Judahoo commented 2 years ago

I ran into a similar issue, I had to disable all my YouTube APIs and re-enable them, it worked for me but I am not sure if this is an actual fix.

diegosousa1990 commented 2 years ago

At each step a new error, I reactivated the API's and connected, but now this error appears, can you tell me what it could be? tks image

migueesc123 commented 2 years ago

@diegosousa1990 it could be that the account that you're selecting during the sign in process doesn't have any channel data? i'm not sure. You might need to dig into the raw response or try to troubleshoot using the API explorer from Google / YouTube to better understand what the response from the API is.

Basically this is saying that the API didn't provide any info, so when it tried to do some transformations it couldn't find a field by the name "items" so it had to halt the process.

Closing this one as the original issue was related to the application and not the code from the connector.