Read the statement by Michael Teeuw here.
MMM-GoogleAssistant and MMM-AssistantMk2 installation issues :(
-
I will double check now and advise
-
@davidpearl1 Was there any suspicious step in your previous trials?
-
@Sean Still not working and I still get the 500 error
I have followed all steps and have the credentials and everything
I am using an RPI 3B+ with stretch, could that be an issue?
I have tried creating a new set of credentials and that didn’t work either
The API is enabled - I am just completely lost now :(
-
@davidpearl1 give me your node version. and can you show me your
credentials.json
(with changing the private secret strings to something others)
And error messages also. -
@Sean
pi@raspberrypi:~/MagicMirror/modules/MMM-AssistantMk2 $ node -v
v9.11.2{“installed”:{“client_id”:“999952555594-iu5vlompjfib9s3bc3tdsh981f3hfulk.apps.googleusercontent.com”,“project_id”:“mmm-assistant-e6cac”,“auth_uri”:“https://accounts.google.com/o/oauth2/auth",“token_uri”:“https://accounts.google.com/o/oauth2/token”,“auth_provider_x509_cert_url”:“https://www.googleapis.com/oauth2/v1/certs”,“client_secret”:“xxxxxxxx”,“redirect_uris”:[“urn:ietf:wg:oauth:2.0:oob”,"http://localhost”]}}
Error message is a google website with error 500 -
"500. That’s an error.
There was an error. Please try again later. That’s all we know."
-
@davidpearl1
credentails itself seems to have no problem.
And I think it is not the kind of the problem of API enable/disable.
500 error usually, be occurred when authentication is denied by Google for some reasons. With googling, there seem several cases;- Just hiccup. try later for a while.
- Your client_id is contaminated. (I don’t know what it is and why)
Sorry, I can not reproduce your error so I cannot catch what’s wrong.
-
Thats rubbish :(
So I technically cannot use the module at all! is there a way to manually authorise it?
The only thing I can think about is starting again from scratch
does it allow you to get the auto code from Google now? could it be a google side issue?
-
@davidpearl1
I cannot assure anything. Some googling says that could be a temporal problem, but others say your auth might have some problem (but I don’t know what exactly).
I suggest removing your whole google-projects and try again from scratch. The only thing I can suspect is, you had a conflict with your some google-projects and used the other credentials for your different projects. (I think that case would be not also. but I have no idea at all…) -
I got it to work!!! :D:D:D:D:D
I deleted all other projects and combined it into one, I also deleted all of my devices and started a new one.
My issue now is I haven’t had a ‘Token.json’ file generate in the directory?
-
@davidpearl1
After auth,token.json
should be generated in the directory wherecredentials.json
is located. isn’t there?