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

DNS Error #4

Open
Taco1175 opened this issue Aug 16, 2021 · 16 comments
Open

DNS Error #4

Taco1175 opened this issue Aug 16, 2021 · 16 comments

Comments

@Taco1175
Copy link

Hi @bplmp! This is wonderful!

I have set up my variables in Script Properties (legacy editor), but am still getting a DNS error of: Exception: DNS error: http://nullapi/session. This makes me think for some reason it isn't referencing the properties I've set up. Any thoughts?

Thanks!

@wclock
Copy link

wclock commented Aug 18, 2021

Hey @bplmp I'm having the same issue at @Taco1175

@MaxBrevini
Copy link

Hey the same happens here. Any solution yet?

@Daviswalker-Avo
Copy link

Any solution on the DNS error? It seems to be coming from the function "getToken"

@Eliagandolfi
Copy link

Eliagandolfi commented Dec 30, 2021

I had the the same issue because I didn't realize my domain is of the form
https://mycompany.metabaseapp.com/
instead of https://mycompany.metabase.com/

it may not be this issue thou, but the script works now great for me

@jrolom
Copy link

jrolom commented Sep 9, 2022

Hey @Eliagandolfi - where did you change the domain in the script?
Thank you

@Taco1175
Copy link
Author

Taco1175 commented Sep 9, 2022 via email

@pjatx
Copy link

pjatx commented Oct 25, 2022

This happens if you forget to set the required script properties (variables) in the Google Apps Script settings. Missed that step and was defining them in the code and this fixed it for me.

@noelwar
Copy link

noelwar commented Feb 2, 2023

Can someone help me and tell me where exactly I need to change the env variables? And I can't seem to get to the legacy viewer as well.

@pjatx
Copy link

pjatx commented Feb 2, 2023

@noelwar
SCR-20230202-b12

@noelwar
Copy link

noelwar commented Feb 2, 2023 via email

@pjatx
Copy link

pjatx commented Feb 2, 2023

@noelwar anytime! This got me back in the day as well : ) Happy I could help.

@isaberamos
Copy link

Hi @pjatx
Isn't the token value generated automatically? If not, can you explain how you got the token value?

@pjatx
Copy link

pjatx commented Sep 1, 2023

@isaberamos I believe you need to generate an api token via metabase

@isaberamos
Copy link

isaberamos commented Sep 4, 2023

@pjatx It worked! Thanks!

@isaberamos
Copy link

isaberamos commented Sep 21, 2023

Hi guys, is it possible to update this data extracted from metabase in real time without import the question?

@sunilkumar19-ai
Copy link

I was getting Exception: DNS error: http://nullapi/session while connecting Metabase to google sheets via Appscript . How can I overcome it ?

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

No branches or pull requests

10 participants