TLDR - all fixed
I didn’t have any logs from the App as I was trying to figure out the URL just using my browser. But the upside is that my issue is now solved. This is what I had to do to resolve the “Something went wrong” error and also a subsequent problem where the doorbell was detected but didn’t seem to work (more below).
I decided to reinstall the Google Nest SDM App. To do this, I went into the App settings and clicked “Uninstall”. I was then unable to reinstall the App by clicking the “Install” button on the Community Store. It just wouldn’t install the App however long I waited. Searching another thread (this one) someone suggested reinstalling the “Homey Community Store” App completely which I did. After doing this I was then able to install the Google Nest SDM app.
I had kept a copy of the OAuth client ID, secret & project ID which I set up previously following the instructions. I copied them into the same fields as before and hey presto it all worked first time! I was able to get to the “Google Nest permissions” page finally! I suspect that there were 2 issues the first time:
- Pasting the client ID also included “https://” at the beginning and “/” at the end. I think that my iPhone thought that I’d copied a URL and was trying to be helpful. It was not helpful.
- I had trouble setting up the new Device Access project (possibly due to the pasting issue above) so I attempted to create a new project a few times and consequently I had to set the project ID more than once in the app settings. Looking at the URL that the app was calling (and researching what Google expects) I could see that the project ID was wrong. So I think that updating the project ID in the “Google Nest” tab doesn’t seem to make any difference. The JSON above that contained “Invalid token” was as a result of using my browser so it probably wasn’t a well crafted URL. Apologies for the distraction.
The next problem that I had to figure out was why I was able to add my Google Nest Hello Doorbell (Wired) as a device but I was unable to use it at all. The status was not updating and it would not trigger any flows (sounds familiar). After a lot of trial and error I discovered that 1 of the Nest permissions I’d enabled was preventing the doorbell from working. I’ve written this up in the original topic I created here.
Thanks for the great App and for responding to my requests for help so fast.