Hi all,
I’m having trouble trying to get my previously working GraphQL query with granular scopes.
My query looks like this:
“{metricsZoomRooms(first:200) { edges { camera deviceIp email health id issues lastStartTime location microphone roomName speaker status } pageInfo { cursor hasNextPage } } }”
I’ve tried numerous scopes with no success, including the scope defined in the GraphQL scopes list.
GraphQL Object | Scope | Permission |
---|---|---|
metricsZoomRooms | dashboard_zr:read:admin dashboard:read:admin | DashboardZR:Read |
metricsZoomRoomIssues | dashboard_home:read:admin | DashboardHome:Read |
In granualr scopes, that translates to:
dashboard:read:list_zoomrooms:admin | View Zoom Room metrics | ||
---|---|---|---|
dashboard:read:issues_zoomroom:admin | View Zoom Room issues |
I always get the return:
“{"errors":[{"message":"Invalid access token, metricsZoomRooms field does not contain required scopes.","locations":[{"line":512,"column":5}],"path":["/metricsZoomRooms"],"extensions":{"errorType":"NO_SCOPE"}}],"data":{"metricsZoomRooms":null}}”
Any ideas please?
Thanks!