metabase-google-sheets-add-on icon indicating copy to clipboard operation
metabase-google-sheets-add-on copied to clipboard

DNS Error

Open Taco1175 opened this issue 3 years ago • 16 comments

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!

Taco1175 avatar Aug 16 '21 19:08 Taco1175

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

wclock avatar Aug 18 '21 16:08 wclock

Hey the same happens here. Any solution yet?

MaxBrevini avatar Sep 28 '21 17:09 MaxBrevini

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

Daviswalker-Avo avatar Nov 03 '21 20:11 Daviswalker-Avo

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

Eliagandolfi avatar Dec 30 '21 14:12 Eliagandolfi

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

jrolom avatar Sep 09 '22 00:09 jrolom

You change this in the script properties itself, not in the code from what I remember.

On Thu, Sep 8, 2022, 7:38 PM Joan Rojas @.***> wrote:

Hey @Eliagandolfi https://github.com/Eliagandolfi - where did you change the domain in the script? Thank you

— Reply to this email directly, view it on GitHub https://github.com/bplmp/metabase-google-sheets-add-on/issues/4#issuecomment-1241370456, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVHK3M6F3SVKJCXKSNKGJDLV5KBITANCNFSM5CILZGOQ . You are receiving this because you were mentioned.Message ID: @.***>

Taco1175 avatar Sep 09 '22 01:09 Taco1175

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.

pjatx avatar Oct 25 '22 18:10 pjatx

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.

noelwar avatar Feb 02 '23 12:02 noelwar

@noelwar SCR-20230202-b12

pjatx avatar Feb 02 '23 13:02 pjatx

You're amazing. Thank you so much!

On Thu, 2 Feb 2023, 7:28 pm Philip Johnson, @.***> wrote:

@noelwar https://github.com/noelwar [image: SCR-20230202-b12] https://user-images.githubusercontent.com/5004634/216344366-640c2686-c07f-4de5-852e-5178b28bccb6.png

— Reply to this email directly, view it on GitHub https://github.com/bplmp/metabase-google-sheets-add-on/issues/4#issuecomment-1413788780, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARRZUDVNNDBRJ7XJFIPOCE3WVO4PDANCNFSM5CILZGOQ . You are receiving this because you were mentioned.Message ID: @.***>

noelwar avatar Feb 02 '23 14:02 noelwar

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

pjatx avatar Feb 02 '23 14:02 pjatx

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

isaberamos avatar Sep 01 '23 20:09 isaberamos

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

pjatx avatar Sep 01 '23 20:09 pjatx

@pjatx It worked! Thanks!

isaberamos avatar Sep 04 '23 20:09 isaberamos

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

isaberamos avatar Sep 21 '23 11:09 isaberamos

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

sunilkumar19-ai avatar Dec 27 '23 08:12 sunilkumar19-ai