Nest integration problems

@grantc
Hey All, I’m getting this error in the integration, I’ve tried over and over reading the docs, clearing creds. I finally for the Google authorization screen where I can choose to share camera feeds, etc, so close!

But I have this…

Retrying setup: Device manager error: Error from API: 400: FAILED_PRECONDITION: Precondition check failed.: Bad Request
image

Where did you find the logs? I see lots of errors in the Device Mgt API, but just a numeric total. I’m not sure where to read the specific errors

Also under Device Access Console is says “Sandbox”, is that ok? I’m sure I paid the $5 when I set this up a long time ago, not sure where to confirm that.
image

Hi, perhaps check out Google Nest - Home Assistant for turning up logging. I think it would be helpful to see logging turned up for google_nest_sdm.auth which will get the details of what the integration is doing. It will likely contain PII so don’t post it here, but maybe it’s worth filing a github issue and perhaps you can send me some of the details (e.g. send to me over email privately) and we could look closer, or somehow strip the requests of your private details. The idea is we could see what request is being made when we see this error which may give a hint as to what is going on.

Hello everyone,
I have big difficulties with the OAuth consent screen, when I click on it, it remains blank, I cannot see any menu? I am the only one with this error?


Thanks for any help :slight_smile:

Hello all, I followed all the steps, did choose the External user type.
Now stuck at this point

What can I do to resolve the issue?

==

  • Core2023.11.1
  • Frontend20231030.1

Check out the troubleshooting instructions at Google Nest - Home Assistant for common misconfigurations

After hours of going through the setup steps, i was to link the accounts, give access then the integrations fails.

“Error from API: 500: Internal: internal error encountered.: Internal Server Error”

no clue what to do from here.

nest2

nest1

Are there additional details in the error logs?

nothing in there.

I went through the steps where I had to give access to each device for the events etc. so it doesn’t seem like a credentials issue.

should I delete the integration and the credentials and try that portion again?

I removed the credentials and tried it again, same result.

success

No need to delete/reinstall. if you got it to complete the integration setup then the credentials should all be working fine. The logs should have more details about what is going wrong, especially if you turn up debug logging

turned on the debugging and let it try a couple times.

2023-12-31 19:05:09.856 DEBUG (ThreadPoolExecutor-65_0) [google_nest_sdm.google_nest_subscriber] Subscriber 'projects/ha-nest-409822/subscriptions/home-assistant-FdU2808V0O' configured on topic 'projects/sdm-prod/topics/enterprise-cb6992d5-af7b-425f-8b31-975f1526641e'
2023-12-31 19:05:09.866 DEBUG (MainThread) [google_nest_sdm.google_nest_subscriber] Starting background watchdog thread
2023-12-31 19:05:09.866 DEBUG (MainThread) [google_nest_sdm.auth] request[get]=https://smartdevicemanagement.googleapis.com/v1/enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/structures
2023-12-31 19:05:10.330 DEBUG (MainThread) [google_nest_sdm.auth] response={'structures': [{'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/structures/AVPHwEv4LBAtBKGkUugWsyUD1gd1Er5IMb6JLO4ht7t5q8knBSp_pMVvvjbDTngW6T8uZrlCDVKegE1i16CqZ6nTEsmxDQ', 'traits': {'sdm.structures.traits.Info': {'customName': 'Home'}}}]}
2023-12-31 19:05:10.330 DEBUG (MainThread) [google_nest_sdm.auth] request[get]=https://smartdevicemanagement.googleapis.com/v1/enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices
2023-12-31 19:05:10.790 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': '6e37bfe7-7b06-42e9-89a0-52d4db210210', 'timestamp': '2024-01-01T00:03:03.735Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A', 'events': {'sdm.devices.events.CameraMotion.Motion': {'eventSessionId': 'AVPHwEusB7mg5-rn8kQ2fR8847tb0x_ns96BUtfsLC1jzJtsDY7rvfNM7Z-W1KhUZdfgIymcGLAa9-b69GSdFgn61mi0bw', 'eventId': 'CiUA2vuxrwSChg0Qnb2R0gfDedPrT-kEui16iIpawXYl_k-6j88YEowBAG3jL4Xn4epiC3tjFTL5moGEJNAvc_fQKOolHQpeGTa7BwYCXebKLsGXVh2hyCZqU5UZa8etmmju5OwATK3d2f3Z5mlfRkBKlZ0w6dk29AA4giRE1HuJ53ifDeXytdYc8vuW3nGzn0zpMaIrRuIkpphOIyOZMjLqMWHs_XuBRuTAvv2CWZAoVezOBJk'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A']}
2023-12-31 19:05:10.829 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': 'b8e55528-fd70-4fb7-8d11-653cd96e684b', 'timestamp': '2024-01-01T00:01:08.946Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEv3ZSz5lWW2ynKx_7YIWmm7BaZQxAyBF7M5oA40fhSJe3Zhha1fSDHwGGAsvz-wLyDCAxInbMNIj9v7MfGoasyMjg', 'events': {'sdm.devices.events.CameraPerson.Person': {'eventSessionId': 'AVPHwEvvDAwFpY1XaqeigvohswonIF-FEQ_4tgrCkFaw094hfyjiNl5cQUyLLTiSlMzE0SxmZb2mk84aNgRr9r1qRzTMrA', 'eventId': 'CiUA2vuxry561i8OBjqyuUrJ2w0nVytzpRKy6SXuOOdvj_NkrfW9EowBAG3jL4U_S-W3FxZg4S3IqVkH5U0vNeYs5MFMbM8xkI106ufPrI9VS7WFWo1uqLeELG4-9KnFjdYyi8JrNNt958DHWgrYmNIt-toWSQ6n5jIqN6RkVsj4B0vZ51GNVzFc_jb_giGn6W4AeP_XrTl4ztWe-wwZksJ-cisWl6POz-xWGvOEGIuHcEnJcJ0'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEv3ZSz5lWW2ynKx_7YIWmm7BaZQxAyBF7M5oA40fhSJe3Zhha1fSDHwGGAsvz-wLyDCAxInbMNIj9v7MfGoasyMjg']}
2023-12-31 19:05:10.871 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': '6a2ea3c9-14d5-43e1-aed1-3f979ab59bc2', 'timestamp': '2024-01-01T00:00:20.015Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEv3ZSz5lWW2ynKx_7YIWmm7BaZQxAyBF7M5oA40fhSJe3Zhha1fSDHwGGAsvz-wLyDCAxInbMNIj9v7MfGoasyMjg', 'events': {'sdm.devices.events.CameraMotion.Motion': {'eventSessionId': 'AVPHwEuChjSUcTMrW3JjHSpKrAktuSa4V1kMT4QcRnc87_rulYIyh1fr7KmasDugcisuGEZxB23AAXLGO1B-Gdi7wDpngA', 'eventId': 'CiUA2vuxrwSeuMnbrZ16-aXki_Y7RV7SSRfNeDHsd5cYzqr2uBB_Eo0BAG3jL4Vtby7y337ELiCbbeH_Gb9Kpm_PvBl5-mYdSySn2ECZFMWVkKhIW1Foy2yiF1G2kZYJYCIXU8FSkMKnLE8x_kUU_luziuNKhJfoWQOGNJTY0URtIiYStMxgySwIWGQ95pJ8wHZeO921ULbSFlZD6hLbLB2DwRY20WsXTLNEXtcTNMWjzK4OQAco'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEv3ZSz5lWW2ynKx_7YIWmm7BaZQxAyBF7M5oA40fhSJe3Zhha1fSDHwGGAsvz-wLyDCAxInbMNIj9v7MfGoasyMjg']}
2023-12-31 19:05:10.913 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': 'a972a9ff-4bfe-41ab-af01-383bd2ec47f3', 'timestamp': '2024-01-01T00:01:41.515109Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEu2-HX9dKKhGF2fJsocezsDQqQ8oWStSKqiq7PmvjBGPTDwSX8csvk_9kuhbbNGd-7tlfnn1rM4gr3EFaIi1le36w', 'traits': {'sdm.devices.traits.Temperature': {'ambientTemperatureCelsius': 20.189987}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEu2-HX9dKKhGF2fJsocezsDQqQ8oWStSKqiq7PmvjBGPTDwSX8csvk_9kuhbbNGd-7tlfnn1rM4gr3EFaIi1le36w']}
2023-12-31 19:05:10.953 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': 'ae9e2c1d-4e66-46a5-b936-6650d7beed0e', 'timestamp': '2023-12-31T23:54:35.321Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A', 'events': {'sdm.devices.events.CameraSound.Sound': {'eventSessionId': 'AVPHwEtS2sZ32nYrBOqT2o9l1MnqVVx_i5Abbc4gp6ZaDj-aiUHWfoNyj4u6lmSCsZH5kCgfHxI3OYff_nfYrMFicIOAAw', 'eventId': 'CiUA2vuxr0Qw6e9plnsOKh4_IbctcB3QO1BKqtPWpJ7q97BMUZIiEo0BAG3jL4X3htJzJlOsI2ItC6P76W8pCuNuLb_0mp2njTMktAbX32MMujY8FmoF_kI_LLmsnbojfFWWgWPEi1so8s-ZCqwViT4-DEA6wQL7dulRkw-07brJ1mMiyT9XXqjY5xX_N4a6ULlZSHLz4YqtBRv0GHMagYdJd1gFnb9r7hINQ9aHz5ZTHmB4I-YL'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A']}
2023-12-31 19:05:10.993 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': 'ebd77c6b-c6f3-463a-bbe2-0fca85894e7d', 'timestamp': '2023-12-31T23:53:19.334Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A', 'events': {'sdm.devices.events.CameraMotion.Motion': {'eventSessionId': 'AVPHwEtRj3u8eT7zX86TZ5smOBRRzbGiJViRCbD0chLKrLpEEJdBBQRmIKARIk7fdCDb3rz5OAom3eAdF9Jv6zxOjzwqgg', 'eventId': 'CiUA2vuxr0rCMTK_skzGpn4P_ptLcTnnrSKQQrQBVNdhQRvY_SloEowBAG3jL4XSdOWaW77dHvN2n_EyqgXGDyXtNtZt8TpCP4_TRuJYYLuGCCjpYDuvEaVakPyZSyOwyESx87-kQVj87xs3V9rWUFvoA-KIsLCEWCk3xWxZ3MUCFdmWLWxQYpMhBX-aA7XXF4nGbBqptJQ6VaB4px6S6y7UYRs-0x_9bUHP5Fjft1BtO4SJ1rA'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A']}
2023-12-31 19:05:11.035 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': '14b7cdba-33d9-400b-8a9f-e87349887cd5', 'timestamp': '2023-12-31T23:58:42.417Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A', 'events': {'sdm.devices.events.CameraMotion.Motion': {'eventSessionId': 'AVPHwEtgPAsIhHYSQsVxWlOrZliNSq1b8VrN4-ZkAJGb4XgVQmuPLe4xa4WOTQgGWO0xY6T2dWBM2TwhOEyG4Bzr3VFfTA', 'eventId': 'CiUA2vuxr92hSYdxwqhwwvCkujBps1ILBuD0oXIL4xDcj9HNohCeEo0BAG3jL4VqGbbfi3zE7hMHEwSPb9OykiRZvq-AxkurMqOo4ec1rNNjOFFUkNxh8dX-BrpIAU52ndI9l8Y6nt1hj9qBxNDqRiqABYBYV0886yrLqDklQaLmqY5DgrHewBua_a-fp7wZJYn_ww5mVv_6wJ9xjm8HztE06U3Hnz69gx8qcKx-rCa23n_7ojaW'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A']}
2023-12-31 19:05:11.078 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': '6f3f74f8-9b34-45b5-a302-13d7ffe1d704', 'timestamp': '2024-01-01T00:04:04.136Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A', 'events': {'sdm.devices.events.CameraMotion.Motion': {'eventSessionId': 'AVPHwEusB7mg5-rn8kQ2fR8847tb0x_ns96BUtfsLC1jzJtsDY7rvfNM7Z-W1KhUZdfgIymcGLAa9-b69GSdFgn61mi0bw', 'eventId': 'CiUA2vuxr6vo23fTmFpHxDcEE3HREfQTm0CfcGc0k13flCH2yLWTEo0BAG3jL4UJjCPbqfMowALBZ8gaQwPqKVjuYxxLIWTddWpQYzukheLNOCzPdymvXc3ywbjwwthPk9-D8ggFdXkCZp5Ygk4ufsvAPlhfKdszTtQbiBFZZ86bpCrfMFh1Bn4QPRfCUyDFPhFiCDgBJ7HxnAdhQ9cHqP1zOZBU9SxaDkXOEH6JRztsm0RFQtP6'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A']}
2023-12-31 19:05:11.122 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': '4b433d3d-8945-49ce-91ac-3872ad0069ec', 'timestamp': '2024-01-01T00:04:44.819Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A', 'events': {'sdm.devices.events.CameraPerson.Person': {'eventSessionId': 'AVPHwEusB7mg5-rn8kQ2fR8847tb0x_ns96BUtfsLC1jzJtsDY7rvfNM7Z-W1KhUZdfgIymcGLAa9-b69GSdFgn61mi0bw', 'eventId': 'CiUA2vuxr7fFYz4n5sEzgya44JrgEd9Cvrr76aeRsbao542WgX4XEowBAG3jL4U4Cd1pcw5PHaeOChEyfVqQxQGOp5Y0L7USyFhr_7NY9SDp7wx3Vex5Uk1xLQ4yY3kQykAoZ_aCwrMOqz1psMV8kFYMfZZ2ouM3WftnaUscUubQHwJ0mWBSeuvvyiK-FqFN9vVjHB82hBNrDlX0HhR_XEVtqnSA553h-OO2q68bcBcyX3znyQE'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A']}
2023-12-31 19:06:31.940 DEBUG (ThreadPoolExecutor-66_0) [google_nest_sdm.google_nest_subscriber] Subscriber 'projects/ha-nest-409822/subscriptions/home-assistant-FdU2808V0O' configured on topic 'projects/sdm-prod/topics/enterprise-cb6992d5-af7b-425f-8b31-975f1526641e'
2023-12-31 19:06:31.944 DEBUG (MainThread) [google_nest_sdm.google_nest_subscriber] Starting background watchdog thread
2023-12-31 19:06:31.944 DEBUG (MainThread) [google_nest_sdm.auth] request[get]=https://smartdevicemanagement.googleapis.com/v1/enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/structures
2023-12-31 19:06:32.356 DEBUG (MainThread) [google_nest_sdm.auth] response={'structures': [{'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/structures/AVPHwEv4LBAtBKGkUugWsyUD1gd1Er5IMb6JLO4ht7t5q8knBSp_pMVvvjbDTngW6T8uZrlCDVKegE1i16CqZ6nTEsmxDQ', 'traits': {'sdm.structures.traits.Info': {'customName': 'Home'}}}]}
2023-12-31 19:06:32.357 DEBUG (MainThread) [google_nest_sdm.auth] request[get]=https://smartdevicemanagement.googleapis.com/v1/enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices
2023-12-31 19:06:32.917 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': '6e37bfe7-7b06-42e9-89a0-52d4db210210', 'timestamp': '2024-01-01T00:03:03.735Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A', 'events': {'sdm.devices.events.CameraMotion.Motion': {'eventSessionId': 'AVPHwEusB7mg5-rn8kQ2fR8847tb0x_ns96BUtfsLC1jzJtsDY7rvfNM7Z-W1KhUZdfgIymcGLAa9-b69GSdFgn61mi0bw', 'eventId': 'CiUA2vuxrwSChg0Qnb2R0gfDedPrT-kEui16iIpawXYl_k-6j88YEowBAG3jL4Xn4epiC3tjFTL5moGEJNAvc_fQKOolHQpeGTa7BwYCXebKLsGXVh2hyCZqU5UZa8etmmju5OwATK3d2f3Z5mlfRkBKlZ0w6dk29AA4giRE1HuJ53ifDeXytdYc8vuW3nGzn0zpMaIrRuIkpphOIyOZMjLqMWHs_XuBRuTAvv2CWZAoVezOBJk'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A']}
2023-12-31 19:06:32.961 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': 'b8e55528-fd70-4fb7-8d11-653cd96e684b', 'timestamp': '2024-01-01T00:01:08.946Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEv3ZSz5lWW2ynKx_7YIWmm7BaZQxAyBF7M5oA40fhSJe3Zhha1fSDHwGGAsvz-wLyDCAxInbMNIj9v7MfGoasyMjg', 'events': {'sdm.devices.events.CameraPerson.Person': {'eventSessionId': 'AVPHwEvvDAwFpY1XaqeigvohswonIF-FEQ_4tgrCkFaw094hfyjiNl5cQUyLLTiSlMzE0SxmZb2mk84aNgRr9r1qRzTMrA', 'eventId': 'CiUA2vuxry561i8OBjqyuUrJ2w0nVytzpRKy6SXuOOdvj_NkrfW9EowBAG3jL4U_S-W3FxZg4S3IqVkH5U0vNeYs5MFMbM8xkI106ufPrI9VS7WFWo1uqLeELG4-9KnFjdYyi8JrNNt958DHWgrYmNIt-toWSQ6n5jIqN6RkVsj4B0vZ51GNVzFc_jb_giGn6W4AeP_XrTl4ztWe-wwZksJ-cisWl6POz-xWGvOEGIuHcEnJcJ0'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEv3ZSz5lWW2ynKx_7YIWmm7BaZQxAyBF7M5oA40fhSJe3Zhha1fSDHwGGAsvz-wLyDCAxInbMNIj9v7MfGoasyMjg']}
2023-12-31 19:06:33.005 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': '6a2ea3c9-14d5-43e1-aed1-3f979ab59bc2', 'timestamp': '2024-01-01T00:00:20.015Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEv3ZSz5lWW2ynKx_7YIWmm7BaZQxAyBF7M5oA40fhSJe3Zhha1fSDHwGGAsvz-wLyDCAxInbMNIj9v7MfGoasyMjg', 'events': {'sdm.devices.events.CameraMotion.Motion': {'eventSessionId': 'AVPHwEuChjSUcTMrW3JjHSpKrAktuSa4V1kMT4QcRnc87_rulYIyh1fr7KmasDugcisuGEZxB23AAXLGO1B-Gdi7wDpngA', 'eventId': 'CiUA2vuxrwSeuMnbrZ16-aXki_Y7RV7SSRfNeDHsd5cYzqr2uBB_Eo0BAG3jL4Vtby7y337ELiCbbeH_Gb9Kpm_PvBl5-mYdSySn2ECZFMWVkKhIW1Foy2yiF1G2kZYJYCIXU8FSkMKnLE8x_kUU_luziuNKhJfoWQOGNJTY0URtIiYStMxgySwIWGQ95pJ8wHZeO921ULbSFlZD6hLbLB2DwRY20WsXTLNEXtcTNMWjzK4OQAco'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEv3ZSz5lWW2ynKx_7YIWmm7BaZQxAyBF7M5oA40fhSJe3Zhha1fSDHwGGAsvz-wLyDCAxInbMNIj9v7MfGoasyMjg']}
2023-12-31 19:06:33.047 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': '6f3f74f8-9b34-45b5-a302-13d7ffe1d704', 'timestamp': '2024-01-01T00:04:04.136Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A', 'events': {'sdm.devices.events.CameraMotion.Motion': {'eventSessionId': 'AVPHwEusB7mg5-rn8kQ2fR8847tb0x_ns96BUtfsLC1jzJtsDY7rvfNM7Z-W1KhUZdfgIymcGLAa9-b69GSdFgn61mi0bw', 'eventId': 'CiUA2vuxr6vo23fTmFpHxDcEE3HREfQTm0CfcGc0k13flCH2yLWTEo0BAG3jL4UJjCPbqfMowALBZ8gaQwPqKVjuYxxLIWTddWpQYzukheLNOCzPdymvXc3ywbjwwthPk9-D8ggFdXkCZp5Ygk4ufsvAPlhfKdszTtQbiBFZZ86bpCrfMFh1Bn4QPRfCUyDFPhFiCDgBJ7HxnAdhQ9cHqP1zOZBU9SxaDkXOEH6JRztsm0RFQtP6'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A']}
2023-12-31 19:06:33.089 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': 'ae9e2c1d-4e66-46a5-b936-6650d7beed0e', 'timestamp': '2023-12-31T23:54:35.321Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A', 'events': {'sdm.devices.events.CameraSound.Sound': {'eventSessionId': 'AVPHwEtS2sZ32nYrBOqT2o9l1MnqVVx_i5Abbc4gp6ZaDj-aiUHWfoNyj4u6lmSCsZH5kCgfHxI3OYff_nfYrMFicIOAAw', 'eventId': 'CiUA2vuxr0Qw6e9plnsOKh4_IbctcB3QO1BKqtPWpJ7q97BMUZIiEo0BAG3jL4X3htJzJlOsI2ItC6P76W8pCuNuLb_0mp2njTMktAbX32MMujY8FmoF_kI_LLmsnbojfFWWgWPEi1so8s-ZCqwViT4-DEA6wQL7dulRkw-07brJ1mMiyT9XXqjY5xX_N4a6ULlZSHLz4YqtBRv0GHMagYdJd1gFnb9r7hINQ9aHz5ZTHmB4I-YL'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A']}
2023-12-31 19:06:33.134 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': 'a972a9ff-4bfe-41ab-af01-383bd2ec47f3', 'timestamp': '2024-01-01T00:01:41.515109Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEu2-HX9dKKhGF2fJsocezsDQqQ8oWStSKqiq7PmvjBGPTDwSX8csvk_9kuhbbNGd-7tlfnn1rM4gr3EFaIi1le36w', 'traits': {'sdm.devices.traits.Temperature': {'ambientTemperatureCelsius': 20.189987}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEu2-HX9dKKhGF2fJsocezsDQqQ8oWStSKqiq7PmvjBGPTDwSX8csvk_9kuhbbNGd-7tlfnn1rM4gr3EFaIi1le36w']}
2023-12-31 19:06:33.135 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': 'd2263772-c6b1-4b8b-a6d5-69c8c0ce9c48', 'timestamp': '2024-01-01T00:04:44.819Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A', 'events': {'sdm.devices.events.CameraMotion.Motion': {'eventSessionId': 'AVPHwEusB7mg5-rn8kQ2fR8847tb0x_ns96BUtfsLC1jzJtsDY7rvfNM7Z-W1KhUZdfgIymcGLAa9-b69GSdFgn61mi0bw', 'eventId': 'CiUA2vuxr4e767vXwvfXoyTuKLywvybp4Z9E9F3uPEaFwyiOzJzwEowBAG3jL4W3jTSx1m33PQWEzxyyHQlM4lD9PFltQYjEQAXQlzVGptJwHRkUgRms4hzSh18D_CHUAxzUMiEiC331kP6tlhupCgRGV0xwr1wPyGN_3XN3rGeZtpj3urF-pLo3kCmN250BsDCffvX_pBjHYVF63sIcJxoLCfQ3z-PPikeBhEIBlNdSn_znQ3M'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A']}
2023-12-31 19:06:33.178 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': 'ebd77c6b-c6f3-463a-bbe2-0fca85894e7d', 'timestamp': '2023-12-31T23:53:19.334Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A', 'events': {'sdm.devices.events.CameraMotion.Motion': {'eventSessionId': 'AVPHwEtRj3u8eT7zX86TZ5smOBRRzbGiJViRCbD0chLKrLpEEJdBBQRmIKARIk7fdCDb3rz5OAom3eAdF9Jv6zxOjzwqgg', 'eventId': 'CiUA2vuxr0rCMTK_skzGpn4P_ptLcTnnrSKQQrQBVNdhQRvY_SloEowBAG3jL4XSdOWaW77dHvN2n_EyqgXGDyXtNtZt8TpCP4_TRuJYYLuGCCjpYDuvEaVakPyZSyOwyESx87-kQVj87xs3V9rWUFvoA-KIsLCEWCk3xWxZ3MUCFdmWLWxQYpMhBX-aA7XXF4nGbBqptJQ6VaB4px6S6y7UYRs-0x_9bUHP5Fjft1BtO4SJ1rA'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A']}
2023-12-31 19:06:33.225 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': '4b433d3d-8945-49ce-91ac-3872ad0069ec', 'timestamp': '2024-01-01T00:04:44.819Z', 'resourceUpdate': {'name': 'enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A', 'events': {'sdm.devices.events.CameraPerson.Person': {'eventSessionId': 'AVPHwEusB7mg5-rn8kQ2fR8847tb0x_ns96BUtfsLC1jzJtsDY7rvfNM7Z-W1KhUZdfgIymcGLAa9-b69GSdFgn61mi0bw', 'eventId': 'CiUA2vuxr7fFYz4n5sEzgya44JrgEd9Cvrr76aeRsbao542WgX4XEowBAG3jL4U4Cd1pcw5PHaeOChEyfVqQxQGOp5Y0L7USyFhr_7NY9SDp7wx3Vex5Uk1xLQ4yY3kQykAoZ_aCwrMOqz1psMV8kFYMfZZ2ouM3WftnaUscUubQHwJ0mWBSeuvvyiK-FqFN9vVjHB82hBNrDlX0HhR_XEVtqnSA553h-OO2q68bcBcyX3znyQE'}}}, 'userId': 'AVPHwEsiPBYpba9unWMHglWtrt6e9qLQTngcDL3fxkII', 'resourceGroup': ['enterprises/cb6992d5-af7b-425f-8b31-975f1526641e/devices/AVPHwEsO7kOCK8dbP8oILrPQJs_zIeTnXpaXyob0hMkf2Sd2k5LzCKPMwSiqd94v_nkuSeHplQGyVIkVgA7S2sXGAblI-A']}

Looks similar to Nest Integration Error: Error setting HVAC mode: "Error from API: 500: INTERNAL: Internal error encountered.: Internal Server Error" · Issue #74208 · home-assistant/core · GitHub – integration is working but the devices call is failing for some reason. I have seem this kind of thing get stuck when accounts are in a weird state due to some kind of prior nest account migration, or getting unstick when messing around with the “home” on the google side.

I’m not sure where to go from here.

What do you mean by "messing around with the home on the google side?

do I change my e-mail address in the nest site then recreate the credentials? the e-mail I am using was migrated from nest to google but maybe its my whole account not just the e-mail address?

I’m being vague because don’t know the answer.

An example of some things to try:

  • ensure everything works in Google Home App
  • try moving devices between rooms
  • remove all devices from the home, and re add them
  • create a new home and move devices to it and authorize that home with home assistant
  • delete the homes and recreate the home, then readd the devices to the home
  • file an issue with Google support similar to others mentioned in some of those bugs. I’ve seen a ticket where other users have reported a similar ticket

The error is similar to this issue Google Issue Tracker under google SDM support tickets where the /devices URL is not working. If none of the above works, you can post something in that issue and work with Google Support on getting to the bottom of it. Sometimes it helps to share a private google doc with them with the raw request logs and details about your account (e.g. your gmail address, timestamps/timezones when the reuqests were made, etc)

all of that sounds pretty awful to do considering, I have 6 cameras, 2 thermostats and 4 temperatures sensors. you can’t just “move” them you have to delete then set them up again which means, for me getting on ladders to physically reach the cameras.

where do I get the request logs? looking at the issue tracker, well that’s is over my head.

I did have a “second” home setup in my account which I just deleted with the Google Home app.

I do appreciate any suggestions you’ve given me.

This was the previous issue so see what they did

SOLVED. After spending hours with Google Nest support, it seems like this was fallout from my Nest account migration from Nest to Google AND multiple household members. I migrated my nest account to a alt google account that was a household member of my main/primary Google account. When I attempted to remove that household member (unsuccessfully), it instead unregistered all Nest devices (reset them back to setup mode), and left “phantom” devices on my main/primary account. Support helped me to get that alt google account removed from Home, and reset everything including removing the phantom devices. The Nest HA integration now works.
After going through “contact us” on the Google Nest Help site, you get the phone number 1-855-469-6378

By request logs, i just mean what you just pasted with the “request”, “response” lines plus an error message are what you need. It is odd though since the actual error message "Internal Server Error” isn’t shown anywhere so not sure where you got that but thats the response from the “/devices” line.

But anyway, I posted what you said above at Google Issue Tracker on your behalf.

when I log into my Google Account to see my subscriptions, I get this message at the bottom.
nestmigration

So I chatted with Nest Aware support. They tell me my account has been migrated however, they said this

I see that you have 1st gen Subscription and 2nd Gen subscription in this account. To find the 2nd Gen subscription please access the below link: https://store.google.com/us/subscriptions

they tried to delete the 1st generation subscription and could not so they have to escalate it. Maybe that is why I’m getting the “Migration in progress” message still, something is hung up.

They said it will take 1-2 business days, I’ll report back once I hear from them or notice that message is gone.

I have spent 4 hrs online with “tech support” they tell me there is nothing wrong with my account. They deleted the old subscription but that didn’t make a difference. their support is awful. each level asked me the same questions over and over and they all had the same robotic responses.

They sent me this to read which did nothing for me.

I can see my devices in the Nest App and the Google Home app

I tried to create a new account and add one of my cameras to it. The issue is, I have 1st gen cameras and after Nov 29, 23 you can no longer have a new account with 1st gen cameras in the Google Home app.

I feel like I’m stuck

I recommend working through the github issue like i was mentioning above Nest integration problems - #99 by allenporter