I have implemented Smart home actions as per documentation, i have enabled Home graph api,
i got agentUserId
from Google Oauth playground, but when i submit agentUserId
and service account key in test suite its returns an Error 404
msg:
Failed to get device list from HomeGraph: Requested entity was not found.
I am able to operate my devices from google home app, but not able to test with test suite.
I am looking for possible reasons.
I encountered this today, and was confused as nothing was even trying to contact my server. I had been using the test tool successfully beforehand, so I knew my agentUserId
was correct, that HomeGraph API was enabled and my service account was correct. It turned out that I was not currently linked to my Google Home app on my mobile with the same user at the time I was trying to run the test tool. I had unlinked it, therefore the agentUserId
was not found on Google's side.
To summarise: