mmm-nest-status icon indicating copy to clipboard operation
mmm-nest-status copied to clipboard

Access Token Error

Open mitch1138 opened this issue 1 year ago • 0 comments

Thanks so much for the module and the setup guidance. I was able to get through the entire process but can't get the access_token & refresh_token (last step). When I paste in the curl command to the raspberry terminal I get "invalid_grant" and "malformed auth code" error. Any suggestions would be greatly appreciated. Thanks

mitch@raspberrypi:~ $ curl -L -X POST 'https://www.googleapis.com/oauth2/v4/token?client_id=xx&client_secret=xx&code=xx&grant_type=authorization_code&redirect_uri=https://www.google.com' { "error": "invalid_grant", "error_description": "Malformed auth code." }

mitch1138 avatar Sep 06 '23 19:09 mitch1138