Solved MMM-GA firebase key problem
-
i want to run the command: npm run tokens for MMM-GA and after replaying y to installing GA token the website popup to sign in Google Account and instead to show me my key this error shows up: Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible cleared.
what should i do?
-
Did you tick all the boxs in pop up?
-
i sign in and acceptet the terms
-
can you post a pic of error please?
-
how can i post picture sry im new
-
here is the code:
pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ npm run tokensMMM-GoogleAssistant@3.0.7 tokens
installer/tokens.shWelcome to GA Tokens generator!
Do you want to install/reinstall GoogleAssistant token? [Y/n]
Your choice: y
Opening OAuth URL. Return here with your code.If your browser will not open, you can copy/paste this URL:
(link where the key shows up)
Paste your code:on the website is display this code:
Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible or accidentally cleared. -
so are you copy paste the url into chromium or will it open by itself?
-
@kala
i run the command in Pi Desktop console and yes it opens self up -
Are you ssh to pi?
Have you update pi OSsudo apt update && sudo apt full-upgrade -y
reboot and try. -
im in ssh and Desktop but i run the npm run tokens in Desktop oke i try
-
i made the updatet but still got the same issue.
-
what Guide did you follow? Wiki
Did you do the Google side of install? Google console Guide
did you do the API as well Publish GA?
command only work in terminal of desktop of raspberry pi.
-
yes i follow the Bugsounet instrucions, run the command in Desktop Pi, i got my API key, puplish it, downloaded the secret_xxx_xxx and rename it to credentials and save it in MMM-GA folder
i made all steps beside the one with: ‘npm run tokens’, i cant get my Audification code for GA because firebaseapp.com give me this error on the website who suppost to give me my Audification code to run the GA token: Unable to process request due to missing initial state. This may happen if browser sessionStorage is inaccessible or accidentally cleared.
i cant start my MM and it loads MMM-GA but an error message displays: FATAL Token Assistant: tokenGA.json missing
-
can you show screenshot of whole error please
-
better still the screen shot of the URL once it opens.
-
This post is deleted! -
This post is deleted! -
@djb1966 i know i have to do it over Desktopterminal im doing over ssh to provide you screenshots
that is the link i get
I have remove link it shows your Info. -
ok this is new to me but here somethings to check
Are you in the right project?
In GA console do you start more than one GA project?
Im not seeing a check box when i add URL like mine? -
oke
yes im in the right Project
i got another project where GA API was enabled but i deleted it so i only have one project
yes i dont have a checkbox toaccept the terms from firebaseapp but i remeber i got this checkbox earlier on the first run of npm run tokens