Our Advanced API integration (type Smart Home, status Live, approved 2026-10-28) gets a 401 on POST /smartlock/{smartlockId}/action/advanced with body {“action”: 3}:
{"detailMessage":"Your access token is not authorized: Token doesn't match required scopes!","stackTrace":[],"suppressedExceptions":[]}
The token comes from the OAuth2 authorization code flow with these scopes:
smartlock.readOnly smartlock.action smartlock.log offline_access webhook.central
Right after the 401, the same token unlatches the same lock with POST /smartlock/{smartlockId}/action. The API definition lists only smartlock.action for both endpoints.
Which scopes does the advanced action require? The example in the “Web API Webhooks” guide asks for:
smartlock smartlock.auth account webhook.central
Is the broad smartlock scope needed instead of smartlock.action?