User Profile
linchen
Level 1.5: Cupcake
Joined 10 months ago
User Widgets
Contributions
Zero-touch customer API - Terms of Service error (403 permission denied)
Hi, we are trying to use Customer API according to the documentation: https://developers.google.com/zero-touch/reference/customer/rest/v1/customers Method: customers.list works fine (GET https://androiddeviceprovisioning.googleapis.com/v1/customers) I am able to use Oauth2 authentication, get access token and use it for the above. When trying to use other methods (e.g. Method: customers.configurations.list) with my access token, I always receive a ToS error: { "error": { "code": 403, "message": "The user must agree the terms of service for company id XXXXX at https://partner.android.com/zerotouch", "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.android.device.provisioning.v1.TosError", "latestTosAccepted": false } ] } } How can accept these terms of service and fix the above error? When I open the zero touch portal with the same user, there's no option to accept anywhere (I have the owner role). When terms of service are opened from the bottom left of the screen, there's only CLOSE button, nothing else.2.6KViews1like5Comments