Bugsounet Coding

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Solved MMM-GA firebase key problem

    Issues
    2
    26
    103
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Kala Donators last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • D
        DJB1966 Helpers last edited by

        Did you tick all the boxs in pop up?

        1 Reply Last reply Reply Quote 0
        • K
          Kala Donators last edited by

          i sign in and acceptet the terms

          1 Reply Last reply Reply Quote 0
          • D
            DJB1966 Helpers last edited by

            can you post a pic of error please?

            1 Reply Last reply Reply Quote 0
            • K
              Kala Donators last edited by

              how can i post picture sry im new

              1 Reply Last reply Reply Quote 0
              • K
                Kala Donators last edited by

                here is the code:
                pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ npm run tokens

                MMM-GoogleAssistant@3.0.7 tokens
                installer/tokens.sh

                Welcome 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.

                K 1 Reply Last reply Reply Quote 0
                • D
                  DJB1966 Helpers last edited by

                  so are you copy paste the url into chromium or will it open by itself?
                  Capture.JPG

                  1 Reply Last reply Reply Quote 0
                  • K
                    Kala Donators @Kala last edited by

                    @kala
                    i run the command in Pi Desktop console and yes it opens self up

                    error.PNG

                    1 Reply Last reply Reply Quote 0
                    • D
                      DJB1966 Helpers last edited by

                      Are you ssh to pi?
                      Have you update pi OS sudo apt update && sudo apt full-upgrade -y reboot and try.

                      1 Reply Last reply Reply Quote 0
                      • K
                        Kala Donators last edited by

                        im in ssh and Desktop but i run the npm run tokens in Desktop oke i try

                        1 Reply Last reply Reply Quote 0
                        • K
                          Kala Donators last edited by

                          i made the updatet but still got the same issue.

                          1 Reply Last reply Reply Quote 0
                          • D
                            DJB1966 Helpers last edited by

                            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.
                            55612876-0012-4780-bc24-94739ce06d47-image.png

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kala Donators last edited by

                              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

                              1 Reply Last reply Reply Quote 0
                              • D
                                DJB1966 Helpers last edited by

                                can you show screenshot of whole error please

                                K 2 Replies Last reply Reply Quote 0
                                • D
                                  DJB1966 Helpers last edited by

                                  better still the screen shot of the URL once it opens.

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    Kala Donators @DJB1966 last edited by

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      Kala Donators last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        Kala Donators @DJB1966 last edited by DJB1966

                                        @djb1966 i know i have to do it over Desktopterminal im doing over ssh to provide you screenshots
                                        fa68ddef-e096-44e5-bd2f-ec008d330a66-grafik.png

                                        a59a151e-058b-4973-a1b7-0248c81bb5b6-grafik.png

                                        7fc0a5bb-2f6c-4c44-a10c-971343ec251b-grafik.png

                                        that is the link i get
                                        I have remove link it shows your Info.

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          DJB1966 Helpers last edited by

                                          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?

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            Kala Donators last edited by

                                            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

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB | @bugsounet ©2022