Forum Discussion
Custom Connector: Script Error when logging in using OAuth 2.0 flow
I developed a custom data connector with OAuth2.0 and everytime the token refreshes and i have to engage in the OAuth flow again, i get this scripting error:
Translation:
"An error has occured on this page's script"
Do you wish to continue executing scripts in this page?
I press "No" 3 times before it actually works. The Url also changes everytime.
Anyone knows what is this?
Thank you.
5 Replies
- daxCommunity Support
Hi CAOP,
I am not sure which factor cause this problem, if possible, could you please inform me when this error will be prompted, after pass credential? Or other operations? In addition, you could refer to MyGraph Connector Sample to see whether your configuartion is correct. Or you also could share the sample or link which you refer to create custom connector, then we could try to reproduce this in our environment.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
It happens when after i select the connector and the credentials are invalid, so i have to sign in again.
As soon as i click "Sign in as a different user" it prompts. Also, if i go to query editor it happens as well, if i'm not signed in to the Data Source.Note that it still works, if i click "No". If i don't do anything, the error disappears and it loops forever in "Signing you in".
I don't understand what you mean by referencing MyGraph. I followed that tutorial, and also github and the official docs. I implemented OAuth2 like it is described, i think.
What more can i send you?
Thank you,
Carlos. - AnonymousNot applicable
dax can you help me?
Those scripts are causing my Facebook to get temporarily disabled because of suspicious activity.Again, i'm connecting to an API with OAuth2 and i Login with Facebook. The thing is that before prompting login with facebook dialog, it prompts that scripting errors. I have no clue what this could be...
- AnonymousNot applicable
Hi again dax . Any news?
- BorisTPLFrequent Visitor
I have the same problem, help would be highly appreciated