• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MM-GoogleAssistant Error: Unexpected end of JSON input

Scheduled Pinned Locked Moved Solved Troubleshooting
6 Posts 2 Posters 650 Views 2 Watching
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.
  • S Offline
    sdetweil @dood
    last edited by Feb 2, 2024, 1:11 PM

    @dood did you select the correct type on the cloud config? the credentials file has different formats depending on the type you select

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    D 1 Reply Last reply Feb 2, 2024, 7:32 PM Reply Quote 0
    • D Offline
      dood @sdetweil
      last edited by Feb 2, 2024, 7:32 PM

      @sdetweil Yes, its set as Web Application in CLoud config.

      I followed the guids located here

      https://wiki.bugsounet.fr/en/MMM-GoogleAssistant

      S 1 Reply Last reply Feb 2, 2024, 7:50 PM Reply Quote 0
      • S Offline
        sdetweil @dood
        last edited by Feb 2, 2024, 7:50 PM

        @dood if you edit the credentials.json file, I think it should say web:{

        to start…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Feb 2, 2024, 8:28 PM Reply Quote 0
        • D Offline
          dood @sdetweil
          last edited by sdetweil Feb 2, 2024, 9:05 PM Feb 2, 2024, 8:28 PM

          @sdetweil It does.

          If it helps here is the full contents of the credentials.json file

          I have completely started from scratch 3 times now, those three times ere al lthe way from installing OS to this step. I have went back and reconfigured and redownloaded the json file at least 5 times and still exact same error, in exactly the same place

          my os is

          magicmirror@magicmirror:~$ uname -a
          Linux magicmirror 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux
          
          magicmirror@magicmirror:~$ lsb_release -a
          No LSB modules are available.
          Distributor ID: Debian
          Description:    Debian GNU/Linux 12 (bookworm)
          Release:        12
          Codename:       bookworm
          
          
          {"web":{"client_id":"457148194700-qvcm.apps.googleusercontent.com","project_id":"ace-beanbag-413106","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"**REMOVED","redirect_uris":["https://googleassistant.bugsounet.fr"]}}
          
          1 Reply Last reply Reply Quote 0
          • D Offline
            dood
            last edited by Feb 3, 2024, 4:55 PM

            Please mark this topic as solved.

            The only thing I can figure is that it too some time to propagate maybe ?

            I haven’t changed anything yet this morning it was able to generate the token without any issues

            Thank you for the help :)

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            1 / 1
            • First post
              6/6
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy