MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. dood
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MM-GoogleAssistant Error: Unexpected end of JSON input

      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 :)

      posted in Troubleshooting
      D
      dood
    • RE: MM-GoogleAssistant Error: Unexpected end of JSON input

      @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"]}}
      
      posted in Troubleshooting
      D
      dood
    • RE: MM-GoogleAssistant Error: Unexpected end of JSON input

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

      I followed the guids located here

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

      posted in Troubleshooting
      D
      dood
    • MM-GoogleAssistant Error: Unexpected end of JSON input

      I have followed the guide and get al lthe way to the end without any issues until I go to generate a token

      I have rebuilt the credentials in google cloud and redownloaded several times and still get this error

      Can anyone point me in th right direction please ?

      Thank you

      Welcome to MMM-GoogleAssistant Token generator!

      Note: The choice expects [Y or N] and does not need [Enter] to confirm
      Do you want to install/reinstall MMM-GoogleAssistant token? [Y/n]
      Your choice: Y
      [GA] SyntaxError: /home/magicmirror/MagicMirror/modules/MMM-GoogleAssistant/credentials.json: Unexpected end of JSON input

      code_text

      posted in Troubleshooting
      D
      dood
    • 1 / 1